Namespaces - 8.9.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 1527

Namespace
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\Hal
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\Hal
Drupal\Tests\contact\Functional\Rest
Drupal\Tests\contact\Functional\Update
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
Drupal\Tests\contact\Kernel\Plugin\migrate\source\d6
Drupal\Tests\contact\Kernel\Views
Drupal\Tests\contact\Unit
Drupal\Tests\content_moderation\Functional
Drupal\Tests\content_moderation\Functional\Update
Drupal\Tests\content_moderation\Kernel
Drupal\Tests\content_moderation\Traits
Drupal\Tests\content_moderation\Unit
Drupal\Tests\content_translation\Functional
Drupal\Tests\content_translation\FunctionalJavascript
Drupal\Tests\content_translation\Functional\Update

Other projects


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