Namespaces - 11.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_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_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
Drupal\dialog_renderer_test\Form
Drupal\dialog_renderer_test\Render\MainContent
Drupal\display_variant_test\EventSubscriber
Drupal\display_variant_test\Plugin\DisplayVariant
Drupal\Driver\Database\CoreFake
Drupal\Driver\Database\CoreFake\Install
Drupal\Driver\Database\fake
Drupal\Driver\Database\fake\Install
Drupal\driver_missing_dependency_test\Driver\Database\MissingDependency\Install
Drupal\driver_test\Driver\Database\DriverTestMysql
Drupal\driver_test\Driver\Database\DriverTestMysqlDeprecatedVersion
Drupal\driver_test\Driver\Database\DriverTestMysqlDeprecatedVersion\Install

Other projects


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