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\phpass\Hook
Drupal\phpass\Password
Drupal\PHPStan\ErrorFormatter
Drupal\PHPStan\Rules
Drupal\PHPStan\Tests
Drupal\phpunit_test
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\procedural_hook_theme\Hook
Drupal\profile_install_requirements\Install\Requirements
Drupal\recipe_is_applying_test\EventSubscriber
Drupal\recipe_is_applying_test\Hook
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\Controller
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

Other projects


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