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\Core\Utility
Drupal\Core\Validation
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\css_disable_transitions_test\Hook
Drupal\database_test\Controller
Drupal\database_test\EventSubscriber
Drupal\database_test\Form
Drupal\database_test\Hook
Drupal\datetime
Drupal\datetime\Hook
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\Hook
Drupal\datetime_range\Plugin\Field\FieldFormatter
Drupal\datetime_range\Plugin\Field\FieldType
Drupal\datetime_range\Plugin\Field\FieldWidget
Drupal\datetime_range_test\Hook
Drupal\dblog
Drupal\dblog\Controller
Drupal\dblog\Form
Drupal\dblog\Hook
Drupal\dblog\Logger
Drupal\dblog\Plugin\rest\resource
Drupal\dblog\Plugin\views\field
Drupal\dblog\Plugin\views\filter
Drupal\dblog\Plugin\views\wizard
Drupal\ddd_hook_order_test\Hook
Drupal\decorated_service_test
Drupal\decoupled_menus_test\Hook
Drupal\default_format_test
Drupal\delay_cache_tags_invalidation\Hook
Drupal\demo_umami\Hook
Drupal\demo_umami_content

Other projects


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