Drupal 8  8.0.2
UserName Class Reference
Inheritance diagram for UserName:

Public Member Functions

 buildOptionsForm (&$form, FormStateInterface $form_state)
 
 validateArgument ($argument)
 
 processSummaryArguments (&$args)
 
- Public Member Functions inherited from User
 __construct (array $configuration, $plugin_id, $plugin_definition, EntityManagerInterface $entity_manager)
 
 buildOptionsForm (&$form, FormStateInterface $form_state)
 
 submitOptionsForm (&$form, FormStateInterface $form_state, &$options=array())
 
 calculateDependencies ()
 
- Public Member Functions inherited from Entity
 __construct (array $configuration, $plugin_id, $plugin_definition, EntityManagerInterface $entity_manager)
 
 buildOptionsForm (&$form, FormStateInterface $form_state)
 
 submitOptionsForm (&$form, FormStateInterface $form_state, &$options=array())
 
 validateArgument ($argument)
 
 calculateDependencies ()
 
- Public Member Functions inherited from ArgumentValidatorPluginBase
 setArgument (ArgumentPluginBase $argument)
 
 buildOptionsForm (&$form, FormStateInterface $form_state)
 
 validateOptionsForm (&$form, FormStateInterface $form_state)
 
 submitOptionsForm (&$form, FormStateInterface $form_state, &$options=array())
 
 access ()
 
 validateArgument ($arg)
 
 processSummaryArguments (&$args)
 
- Public Member Functions inherited from PluginBase
 __construct (array $configuration, $plugin_id, $plugin_definition)
 
 init (ViewExecutable $view, DisplayPluginBase $display, array &$options=NULL)
 
 filterByDefinedOptions (array &$storage)
 
 unpackOptions (&$storage, $options, $definition=NULL, $all=TRUE, $check=TRUE)
 
 destroy ()
 
 buildOptionsForm (&$form, FormStateInterface $form_state)
 
 validateOptionsForm (&$form, FormStateInterface $form_state)
 
 submitOptionsForm (&$form, FormStateInterface $form_state)
 
 query ()
 
 themeFunctions ()
 
 validate ()
 
 summaryTitle ()
 
 pluginTitle ()
 
 usesOptions ()
 
 globalTokenReplace ($string= '', array $options=array())
 
 getAvailableGlobalTokens ($prepared=FALSE, array $types=array())
 
 globalTokenForm (&$form, FormStateInterface $form_state)
 
 calculateDependencies ()
 
 getProvider ()
 
- Public Member Functions inherited from PluginInspectionInterface
 getPluginId ()
 
 getPluginDefinition ()
 
- Public Member Functions inherited from DerivativeInspectionInterface
 getBaseId ()
 
 getDerivativeId ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Entity
static create (ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)
 
- Static Public Member Functions inherited from PluginBase
static create (ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)
 
static preRenderAddFieldsetMarkup (array $form)
 
static preRenderFlattenData ($form)
 
static queryLanguageSubstitutions ()
 
- Data Fields inherited from PluginBase
const INCLUDE_NEGOTIATED = 16
 
const INCLUDE_ENTITY = 32
 
const VIEWS_QUERY_LANGUAGE_SITE_DEFAULT = '***LANGUAGE_site_default***'
 
 $options = array()
 
 $view = NULL
 
 $displayHandler
 
 $definition
 
- Protected Member Functions inherited from User
 defineOptions ()
 
- Protected Member Functions inherited from Entity
 defineOptions ()
 
 validateEntity (EntityInterface $entity)
 
- Protected Member Functions inherited from ArgumentValidatorPluginBase
 defineOptions ()
 
 checkAccess (&$form, $option_name)
 
- Protected Member Functions inherited from PluginBase
 defineOptions ()
 
 setOptionDefaults (array &$storage, array $options)
 
 doFilterByDefinedOptions (array &$storage, array $options)
 
 viewsTokenReplace ($text, $tokens)
 
 listLanguages ($flags=LanguageInterface::STATE_ALL, array $current_values=NULL)
 
 getRenderer ()
 
- Protected Attributes inherited from User
 $userStorage
 
- Protected Attributes inherited from Entity
 $entityManager
 
 $multipleCapable = TRUE
 
- Protected Attributes inherited from ArgumentValidatorPluginBase
 $argument
 
- Protected Attributes inherited from PluginBase
 $usesOptions = FALSE
 
 $renderer
 

Detailed Description

Validates whether a user name is valid.

( id = "user_name", title = ("User name"), entity_type = "user" )

Member Function Documentation

buildOptionsForm ( $form,
FormStateInterface  $form_state 
)

{Provide a form to edit options for this plugin.}

Implements ViewsPluginInterface.

References Drupal\entityManager(), and t().

Here is the call graph for this function:

processSummaryArguments ( $args)

{}

validateArgument (   $argument)

{}

References Entity\validateEntity().

Here is the call graph for this function:


The documentation for this class was generated from the following file: