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\demo_umami_content\Hook
Drupal\dependency_version_test\Hook
Drupal\deprecated_module_test\Hook
Drupal\deprecated_twig_template\Controller
Drupal\deprecated_twig_template\Hook
Drupal\deprecation_hook_attribute_test\Hook
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\dialog_test
Drupal\dialog_test\Entity
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
Drupal\driver_test\Driver\Database\DriverTestMysql\Install
Drupal\driver_test\Driver\Database\DriverTestPgsql
Drupal\driver_test\Driver\Database\DriverTestPgsql\Install
Drupal\dummydb\Driver\Database\dummydb
Drupal\dummydb\Driver\Database\dummydb\Install
Drupal\dynamic_page_cache\EventSubscriber
Drupal\dynamic_page_cache\Hook
Drupal\dynamic_page_cache\PageCache\RequestPolicy
Drupal\dynamic_page_cache\PageCache\ResponsePolicy
Drupal\dynamic_page_cache_test
Drupal\early_rendering_controller_test
Drupal\early_translation_test
Drupal\editor
Drupal\editor\Ajax
Drupal\editor\Annotation
Drupal\editor\Attribute
Drupal\editor\EditorXssFilter
Drupal\editor\Entity
Drupal\editor\EventSubscriber
Drupal\editor\Hook
Drupal\editor\Plugin
Drupal\editor\Plugin\Filter
Drupal\editor_test\EditorXssFilter
Drupal\editor_test\Hook
Drupal\editor_test\Plugin\Editor

Other projects


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