Namespaces - main - 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 1545

Namespace
Drupal\Tests\config\Kernel
Drupal\Tests\config\Traits
Drupal\Tests\config\Unit\Menu
Drupal\Tests\config_test\Functional\Rest
Drupal\Tests\config_test\Kernel
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\Jsonapi
Drupal\Tests\contact\Functional\migrate_drupal_ui\d6
Drupal\Tests\contact\Functional\migrate_drupal_ui\d7
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\Functional\Update
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
Drupal\Tests\Core
Drupal\Tests\Core\Access
Drupal\Tests\Core\Ajax
Drupal\Tests\Core\Annotation
Drupal\Tests\Core\Asset

Other projects


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