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\Tests\Component\Discovery
Drupal\Tests\Component\EventDispatcher
Drupal\Tests\Component\FileCache
Drupal\Tests\Component\FileSecurity
Drupal\Tests\Component\FileSystem
Drupal\Tests\Component\FrontMatter
Drupal\Tests\Component\Gettext
Drupal\Tests\Component\Graph
Drupal\Tests\Component\HttpFoundation
Drupal\Tests\Component\PhpStorage
Drupal\Tests\Component\Plugin
Drupal\Tests\Component\Plugin\Context
Drupal\Tests\Component\Plugin\Discovery
Drupal\Tests\Component\Plugin\Factory
Drupal\Tests\Component\Plugin\Fixtures\vegetable
Drupal\Tests\Component\ProxyBuilder
Drupal\Tests\Component\Render
Drupal\Tests\Component\Serialization
Drupal\Tests\Component\Transliteration
Drupal\Tests\Component\Utility
Drupal\Tests\Component\Uuid
Drupal\Tests\Component\Version
Drupal\Tests\Composer
Drupal\Tests\Composer\Generator
Drupal\Tests\Composer\Plugin\ProjectMessage
Drupal\Tests\Composer\Plugin\Scaffold
Drupal\Tests\Composer\Plugin\Scaffold\Functional
Drupal\Tests\Composer\Plugin\Scaffold\Integration
Drupal\Tests\Composer\Plugin\VendorHardening
Drupal\Tests\config\Functional
Drupal\Tests\config\FunctionalJavascript
Drupal\Tests\config\Kernel
Drupal\Tests\config\Traits
Drupal\Tests\config\Unit\Menu
Drupal\Tests\config_test\Functional\Rest
Drupal\Tests\config_translation\Functional
Drupal\Tests\config_translation\FunctionalJavascript
Drupal\Tests\config_translation\Kernel
Drupal\Tests\config_translation\Kernel\Migrate\d6
Drupal\Tests\config_translation\Kernel\Migrate\d7
Drupal\Tests\config_translation\Kernel\Plugin\migrate\source\d6
Drupal\Tests\config_translation\Unit
Drupal\Tests\contact\Functional
Drupal\Tests\contact\Functional\Rest
Drupal\Tests\contact\Functional\Views
Drupal\Tests\contact\Kernel
Drupal\Tests\contact\Kernel\Migrate
Drupal\Tests\contact\Kernel\Migrate\d6
Drupal\Tests\contact\Kernel\Migrate\d7
Drupal\Tests\contact\Kernel\Plugin\migrate\source

Other projects


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