Namespaces - main - drupal

Primary tabs

Introduction to namespaces

PHP classes, interfaces, and traits in Drupal are namespaced. See the Objected-oriented programming conventions for more information.

See also

Objected-oriented programming conventions

File

core/core.api.php, line 1545

Namespace
Drupal\user
Drupal\user\Access
Drupal\user\Authentication\Provider
Drupal\user\ContextProvider
Drupal\user\Controller
Drupal\user\Entity
Drupal\user\Event
Drupal\user\EventSubscriber
Drupal\user\Form
Drupal\user\Hook
Drupal\user\Plugin\Action
Drupal\user\Plugin\Block
Drupal\user\Plugin\Condition
Drupal\user\Plugin\Derivative
Drupal\user\Plugin\EntityReferenceSelection
Drupal\user\Plugin\Field\FieldFormatter
Drupal\user\Plugin\LanguageNegotiation
Drupal\user\Plugin\Menu
Drupal\user\Plugin\migrate
Drupal\user\Plugin\migrate\destination
Drupal\user\Plugin\migrate\process
Drupal\user\Plugin\migrate\process\d6
Drupal\user\Plugin\migrate\source
Drupal\user\Plugin\migrate\source\d6
Drupal\user\Plugin\migrate\source\d7
Drupal\user\Plugin\rest\resource
Drupal\user\Plugin\Search
Drupal\user\Plugin\Validation\Constraint
Drupal\user\Plugin\views\access
Drupal\user\Plugin\views\argument
Drupal\user\Plugin\views\argument_default
Drupal\user\Plugin\views\argument_validator
Drupal\user\Plugin\views\field
Drupal\user\Plugin\views\filter
Drupal\user\Plugin\views\row
Drupal\user\Plugin\views\wizard
Drupal\user\Theme
Drupal\user_access_test\Hook
Drupal\user_auth_decorator_test
Drupal\user_batch_action_test\Plugin\Action
Drupal\user_config_override_test
Drupal\user_form_test\Hook
Drupal\user_hooks_test\Hook
Drupal\user_language_test\Controller
Drupal\user_language_test\Form
Drupal\user_route_alter_test\Routing
Drupal\views
Drupal\views\Ajax
Drupal\views\Annotation
Drupal\views\Attribute

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.