Namespaces - 10.3.x - 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 1534

Namespace
Drupal\Core\Validation\Annotation
Drupal\Core\Validation\Attribute
Drupal\Core\Validation\Plugin\Validation\Constraint
Drupal\core_fake\Driver\Database\CoreFake
Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses
Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses\Install
Drupal\core_fake\Driver\Database\CoreFake\Install
Drupal\cron_queue_test\Plugin\Derivative
Drupal\cron_queue_test\Plugin\QueueWorker
Drupal\csrf_race_test\Controller
Drupal\csrf_test\Controller
Drupal\database_statement_monitoring_test
Drupal\database_statement_monitoring_test\mysql
Drupal\database_statement_monitoring_test\mysql\Install
Drupal\database_statement_monitoring_test\pgsql
Drupal\database_statement_monitoring_test\pgsql\Install
Drupal\database_statement_monitoring_test\sqlite
Drupal\database_statement_monitoring_test\sqlite\Install
Drupal\database_test\Controller
Drupal\database_test\EventSubscriber
Drupal\database_test\Form
Drupal\datetime
Drupal\datetime\Plugin\Field\FieldFormatter
Drupal\datetime\Plugin\Field\FieldType
Drupal\datetime\Plugin\Field\FieldWidget
Drupal\datetime\Plugin\migrate\field
Drupal\datetime\Plugin\Validation\Constraint
Drupal\datetime\Plugin\views\argument
Drupal\datetime\Plugin\views\filter
Drupal\datetime\Plugin\views\sort
Drupal\datetime_range
Drupal\datetime_range\Plugin\Field\FieldFormatter
Drupal\datetime_range\Plugin\Field\FieldType
Drupal\datetime_range\Plugin\Field\FieldWidget
Drupal\dblog\Controller
Drupal\dblog\Form
Drupal\dblog\Logger
Drupal\dblog\Plugin\rest\resource
Drupal\dblog\Plugin\views\field
Drupal\dblog\Plugin\views\filter
Drupal\dblog\Plugin\views\wizard
Drupal\decorated_service_test
Drupal\default_format_test
Drupal\demo_umami_content
Drupal\deprecated_twig_template\Controller
Drupal\deprecation_test
Drupal\deprecation_test\Deprecation
Drupal\destructable_test
Drupal\destructable_test\Controller
Drupal\dialog_renderer_test\Controller

Other projects


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