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\plugin_test
Drupal\plugin_test\Hook
Drupal\plugin_test\Plugin
Drupal\plugin_test\Plugin\Annotation
Drupal\plugin_test\Plugin\Attribute
Drupal\plugin_test\Plugin\plugin_test\custom_annotation
Drupal\plugin_test\Plugin\plugin_test\fruit
Drupal\plugin_test\Plugin\plugin_test\mock_block
Drupal\plugin_test_extended\Plugin
Drupal\plugin_test_extended\Plugin\Annotation
Drupal\plugin_test_extended\Plugin\plugin_test\fruit
Drupal\position_shim_test\Controller
Drupal\profile_install_requirements\Install\Requirements
Drupal\render_array_non_html_subscriber_test
Drupal\render_attached_test\Controller
Drupal\render_attached_test\Plugin\Block
Drupal\render_placeholder_message_test
Drupal\requirements1_test\Hook
Drupal\respond_install_uninstall_hook_test\Hook
Drupal\responsive_image
Drupal\responsive_image\Element
Drupal\responsive_image\Entity
Drupal\responsive_image\Hook
Drupal\responsive_image\Plugin\Field\FieldFormatter
Drupal\responsive_image\Plugin\migrate\process
Drupal\responsive_image\Plugin\migrate\source\d7
Drupal\responsive_image_test_module\Plugin\Field\FieldFormatter
Drupal\rest
Drupal\rest\Annotation
Drupal\rest\Attribute
Drupal\rest\Entity
Drupal\rest\EventSubscriber
Drupal\rest\Hook
Drupal\rest\Plugin
Drupal\rest\Plugin\Deriver
Drupal\rest\Plugin\rest\resource
Drupal\rest\Plugin\Type
Drupal\rest\Plugin\views\display
Drupal\rest\Plugin\views\row
Drupal\rest\Plugin\views\style
Drupal\rest\Routing
Drupal\rest_test\Authentication\Provider
Drupal\rest_test\Hook
Drupal\rest_test\PageCache\RequestPolicy
Drupal\rest_test\Plugin\rest\resource
Drupal\rest_test\Plugin\Validation\Constraint
Drupal\rest_test_views\Hook
Drupal\router_installer_test\Hook
Drupal\router_test
Drupal\router_test\Access

Other projects


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