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\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
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
Drupal\router_test\Controller
Drupal\router_test\Hook
Drupal\sdc_other_node_visitor\Twig\Extension
Drupal\sdc_other_node_visitor\Twig\NodeVisitor
Drupal\sdc_other_node_visitor\Twig\Profiler
Drupal\sdc_test\Controller
Drupal\search
Drupal\search\Annotation
Drupal\search\Attribute
Drupal\search\Controller
Drupal\search\Entity
Drupal\search\Exception
Drupal\search\Form
Drupal\search\Hook
Drupal\search\Plugin
Drupal\search\Plugin\Block
Drupal\search\Plugin\Derivative
Drupal\search\Plugin\migrate\destination
Drupal\search\Plugin\migrate\process
Drupal\search\Plugin\migrate\source\d6
Drupal\search\Plugin\migrate\source\d7
Drupal\search\Plugin\views\argument
Drupal\search\Plugin\views\field
Drupal\search\Plugin\views\filter
Drupal\search\Plugin\views\row
Drupal\search\Plugin\views\sort
Drupal\search\Routing

Other projects


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