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
Drupal\comment\Plugin\migrate\source\d7
Drupal\comment\Plugin\Validation\Constraint
Drupal\comment\Plugin\views\argument
Drupal\comment\Plugin\views\field
Drupal\comment\Plugin\views\filter
Drupal\comment\Plugin\views\row
Drupal\comment\Plugin\views\sort
Drupal\comment\Plugin\views\wizard
Drupal\comment\Tests
Drupal\comment_base_field_test\Entity
Drupal\comment_test\Controller
Drupal\common_test\Controller
Drupal\common_test\Render\MainContent
Drupal\Component\Annotation
Drupal\Component\Annotation\Doctrine
Drupal\Component\Annotation\Doctrine\Compatibility
Drupal\Component\Annotation\Doctrine\Compatibility\Php7
Drupal\Component\Annotation\Doctrine\Compatibility\Php8
Drupal\Component\Annotation\Plugin\Discovery
Drupal\Component\Annotation\Reflection
Drupal\Component\Assertion
Drupal\Component\Bridge
Drupal\Component\ClassFinder
Drupal\Component\Datetime
Drupal\Component\DependencyInjection
Drupal\Component\DependencyInjection\Dumper
Drupal\Component\Diff
Drupal\Component\Diff\Engine
Drupal\Component\Discovery
Drupal\Component\EventDispatcher
Drupal\Component\FileCache
Drupal\Component\FileSecurity
Drupal\Component\FileSystem
Drupal\Component\FrontMatter
Drupal\Component\FrontMatter\Exception
Drupal\Component\Gettext
Drupal\Component\Graph
Drupal\Component\HttpFoundation
Drupal\Component\PhpStorage
Drupal\Component\Plugin
Drupal\Component\Plugin\Context
Drupal\Component\Plugin\Definition
Drupal\Component\Plugin\Derivative
Drupal\Component\Plugin\Discovery
Drupal\Component\Plugin\Exception
Drupal\Component\Plugin\Factory
Drupal\Component\Plugin\Mapper
Drupal\Component\ProxyBuilder
Drupal\Component\Render
Drupal\Component\Serialization

Other projects


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