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\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
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\Kernel
Drupal\Tests\content_moderation\Kernel\ConfigAction
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\Views
Drupal\Tests\content_translation\Kernel
Drupal\Tests\content_translation\Kernel\Migrate\d6
Drupal\Tests\content_translation\Kernel\Migrate\d7
Drupal\Tests\content_translation\Kernel\Plugin\migrate\source\d7
Drupal\Tests\content_translation\Traits
Drupal\Tests\content_translation\Unit\Access
Drupal\Tests\content_translation\Unit\Menu
Drupal\Tests\contextual\Functional
Drupal\Tests\contextual\FunctionalJavascript
Drupal\Tests\contextual\Kernel

Other projects


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