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\test_theme\Hook
Drupal\test_theme_theme\Hook
Drupal\text
Drupal\text\Hook
Drupal\text\Plugin\Field\FieldFormatter
Drupal\text\Plugin\Field\FieldType
Drupal\text\Plugin\Field\FieldWidget
Drupal\text\Plugin\migrate\field\d6
Drupal\text\Plugin\migrate\field\d7
Drupal\text_test\Hook
Drupal\theme_page_test\Hook
Drupal\theme_region_test\Hook
Drupal\theme_suggestions_test\Hook
Drupal\theme_test
Drupal\theme_test\EventSubscriber
Drupal\theme_test\Hook
Drupal\theme_test\Theme
Drupal\token_test\Controller
Drupal\toolbar\Ajax
Drupal\toolbar\Controller
Drupal\toolbar\Element
Drupal\toolbar\Hook
Drupal\toolbar\Menu
Drupal\toolbar\PageCache
Drupal\toolbar_disable_user_toolbar\Hook
Drupal\toolbar_test\Hook
Drupal\trusted_hosts_test\Controller
Drupal\twig_extension_test
Drupal\twig_extension_test\Hook
Drupal\twig_extension_test\TwigExtension
Drupal\twig_fibers_test\TwigExtension
Drupal\twig_loader_test\Loader
Drupal\twig_theme_test
Drupal\twig_theme_test\Hook
Drupal\unique_field_constraint_test\Hook
Drupal\unversioned_assets_test\Hook
Drupal\update
Drupal\updated_module
Drupal\update\Controller
Drupal\update\Hook
Drupal\update\Plugin\migrate\source
Drupal\update_script_test\Controller
Drupal\update_script_test\Hook
Drupal\update_script_test\PathProcessor
Drupal\update_test\Controller
Drupal\update_test\Datetime
Drupal\update_test\Hook
Drupal\update_test_broken_theme_hook\Hook
Drupal\update_test_schema\Hook
Drupal\url_alter_test

Other projects


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