Namespaces - 9.5.x - 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 1539

Namespace
com\example\PluginNamespace
Drupal\accept_header_routing_test
Drupal\accept_header_routing_test\Routing
Drupal\action
Drupal\action\Form
Drupal\action\Plugin\migrate\source
Drupal\action_form_ajax_test\Plugin\Action
Drupal\action_test\Plugin\Action
Drupal\advisory_feed_test
Drupal\advisory_feed_test\Controller
Drupal\aggregator
Drupal\aggregator\Annotation
Drupal\aggregator\Controller
Drupal\aggregator\Entity
Drupal\aggregator\Form
Drupal\aggregator\Plugin
Drupal\aggregator\Plugin\aggregator\fetcher
Drupal\aggregator\Plugin\aggregator\parser
Drupal\aggregator\Plugin\aggregator\processor
Drupal\aggregator\Plugin\Block
Drupal\aggregator\Plugin\Field\FieldFormatter
Drupal\aggregator\Plugin\migrate\source
Drupal\aggregator\Plugin\QueueWorker
Drupal\aggregator\Plugin\Validation\Constraint
Drupal\aggregator\Plugin\views\argument
Drupal\aggregator\Plugin\views\row
Drupal\aggregator_test\Controller
Drupal\aggregator_test\Plugin\aggregator\fetcher
Drupal\aggregator_test\Plugin\aggregator\parser
Drupal\aggregator_test\Plugin\aggregator\processor
Drupal\ajax_forms_test
Drupal\ajax_forms_test\Form
Drupal\ajax_forms_test\Plugin\Block
Drupal\ajax_test\Ajax
Drupal\ajax_test\Controller
Drupal\ajax_test\Form
Drupal\automated_cron\EventSubscriber
Drupal\autowire_test
Drupal\ban
Drupal\ban\Form
Drupal\ban\Plugin\migrate\destination
Drupal\ban\Plugin\migrate\source\d7
Drupal\basic_auth\Authentication\Provider
Drupal\basic_auth\PageCache
Drupal\basic_auth_test
Drupal\batch_test\Controller
Drupal\batch_test\Form
Drupal\big_pipe\Controller
Drupal\big_pipe\EventSubscriber
Drupal\big_pipe\Render

Other projects


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