Namespaces - 11.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 1535

Namespace
com\example\PluginNamespace
cweagans\Fake
Drupal\aaa_hook_collector_test\Hook
Drupal\aaa_hook_order_test\Hook
Drupal\accept_header_routing_test
Drupal\accept_header_routing_test\Routing
Drupal\action_bulk_test\Form
Drupal\action_bulk_test\Plugin\Action
Drupal\action_test\Plugin\Action
Drupal\advisory_feed_test
Drupal\advisory_feed_test\Controller
Drupal\advisory_feed_test\Hook
Drupal\ajax_forms_test
Drupal\ajax_forms_test\Controller
Drupal\ajax_forms_test\Form
Drupal\ajax_forms_test\Plugin\Block
Drupal\ajax_test\Ajax
Drupal\ajax_test\Controller
Drupal\ajax_test\Form
Drupal\announcements_feed
Drupal\announcements_feed\Controller
Drupal\announcements_feed\Hook
Drupal\announcements_feed\Plugin\Block
Drupal\announce_feed_test
Drupal\announce_feed_test\Controller
Drupal\automated_cron\EventSubscriber
Drupal\automated_cron\Hook
Drupal\autowire_test
Drupal\ban
Drupal\ban\Form
Drupal\ban\Hook
Drupal\ban\Plugin\migrate\destination
Drupal\ban\Plugin\migrate\source\d7
Drupal\basic_auth\Authentication\Provider
Drupal\basic_auth\Hook
Drupal\basic_auth\PageCache
Drupal\basic_auth_test
Drupal\batch_test
Drupal\batch_test\Controller
Drupal\batch_test\Form
Drupal\bbb_hook_collector_test\Hook
Drupal\bbb_hook_order_test\Hook
Drupal\big_pipe\Controller
Drupal\big_pipe\EventSubscriber
Drupal\big_pipe\Hook
Drupal\big_pipe\Render
Drupal\big_pipe\Render\Placeholder
Drupal\big_pipe\StackMiddleware
Drupal\big_pipe_bypass_js\Hook
Drupal\big_pipe_messages_test\Hook

Other projects


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