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 1534

Namespace
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\Attribute
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
Drupal\Component\Serialization\Exception
Drupal\Component\Transliteration
Drupal\Component\Utility
Drupal\Component\Uuid
Drupal\Component\Version
Drupal\Composer
Drupal\Composer\Generator
Drupal\Composer\Generator\Builder
Drupal\Composer\Generator\Util
Drupal\Composer\Plugin\ProjectMessage
Drupal\Composer\Plugin\Scaffold
Drupal\Composer\Plugin\Scaffold\Operations
Drupal\Composer\Plugin\VendorHardening
Drupal\Composer\Util
Drupal\condition_test
Drupal\condition_test\Plugin\Condition
Drupal\config
Drupal\config\Controller
Drupal\config\Form
Drupal\config_action_duplicate_test\Plugin\ConfigAction
Drupal\config_collection_install_test
Drupal\config_entity_static_cache_test

Other projects


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