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\path\Plugin\Validation\Constraint
Drupal\path_alias
Drupal\path_alias\Entity
Drupal\path_alias\PathProcessor
Drupal\path_changed_helper_test\Controller
Drupal\path_encoded_test\Controller
Drupal\path_test_misc\Hook
Drupal\path_test_node_grants\Hook
Drupal\performance_test
Drupal\performance_test\Cache
Drupal\pgsql\Driver\Database\pgsql
Drupal\pgsql\Driver\Database\pgsql\Install
Drupal\pgsql\EntityQuery
Drupal\pgsql\Hook
Drupal\pgsql\Install\Requirements
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\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

Other projects


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