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\off_canvas_test\Controller
Drupal\off_canvas_test\Hook
Drupal\olivero
Drupal\olivero\Hook
Drupal\olivero_test\Hook
Drupal\oop_hook_theme\Hook
Drupal\oop_hook_theme_with_module\Hook
Drupal\oop_hook_theme_with_order\Hook
Drupal\oop_hook_theme_with_remove\Hook
Drupal\oop_hook_theme_with_reorder\Hook
Drupal\options\Hook
Drupal\options\Plugin\Field\FieldFormatter
Drupal\options\Plugin\Field\FieldType
Drupal\options\Plugin\migrate\field\d6
Drupal\options\Plugin\migrate\field\d7
Drupal\options\Plugin\views\argument
Drupal\options\Plugin\views\filter
Drupal\options_test
Drupal\options_test\Hook
Drupal\package_manager
Drupal\package_manager\Attribute
Drupal\package_manager\Event
Drupal\package_manager\EventSubscriber
Drupal\package_manager\Exception
Drupal\package_manager\Hook
Drupal\package_manager\Install\Requirements
Drupal\package_manager\PathExcluder
Drupal\package_manager\Plugin\QueueWorker
Drupal\package_manager\Validator
Drupal\package_manager_bypass
Drupal\package_manager_test_api
Drupal\package_manager_test_event_logger\EventSubscriber
Drupal\package_manager_test_release_history
Drupal\package_manager_test_validation
Drupal\package_manager_test_validation\EventSubscriber
Drupal\pager_test\Controller
Drupal\pager_test\Hook
Drupal\page_cache\Hook
Drupal\page_cache\StackMiddleware
Drupal\paramconverter_test
Drupal\path
Drupal\path\EventSubscriber
Drupal\path\Form
Drupal\path\Hook
Drupal\path\Plugin\Field\FieldType
Drupal\path\Plugin\Field\FieldWidget
Drupal\path\Plugin\migrate\process
Drupal\path\Plugin\migrate\source
Drupal\path\Plugin\migrate\source\d6
Drupal\path\Plugin\migrate\source\d7

Other projects


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