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\ban\Kernel
Drupal\Tests\ban\Kernel\Migrate\d7
Drupal\Tests\ban\Kernel\Plugin\migrate\source\d7
Drupal\Tests\ban\Unit
Drupal\Tests\basic_auth\Functional
Drupal\Tests\basic_auth\Traits
Drupal\Tests\big_pipe\Functional
Drupal\Tests\big_pipe\FunctionalJavascript
Drupal\Tests\big_pipe\Kernel
Drupal\Tests\big_pipe\Unit\Render
Drupal\Tests\big_pipe\Unit\Render\Placeholder
Drupal\Tests\big_pipe\Unit\StackMiddleware
Drupal\Tests\block\Functional
Drupal\Tests\block\FunctionalJavascript
Drupal\Tests\block\Functional\Rest
Drupal\Tests\block\Functional\Update
Drupal\Tests\block\Functional\Views
Drupal\Tests\block\Kernel
Drupal\Tests\block\Kernel\Migrate\d6
Drupal\Tests\block\Kernel\Migrate\d7
Drupal\Tests\block\Kernel\Plugin\migrate\source
Drupal\Tests\block\Kernel\Plugin\migrate\source\d6
Drupal\Tests\block\Kernel\Plugin\migrate\source\d7
Drupal\Tests\block\Traits
Drupal\Tests\block\Unit
Drupal\Tests\block\Unit\Menu
Drupal\Tests\block\Unit\Plugin\DisplayVariant
Drupal\Tests\block\Unit\Plugin\migrate\process
Drupal\Tests\block_content\Functional
Drupal\Tests\block_content\Functional\Rest
Drupal\Tests\block_content\Functional\Update
Drupal\Tests\block_content\Functional\Views
Drupal\Tests\block_content\Kernel
Drupal\Tests\block_content\Kernel\Migrate
Drupal\Tests\block_content\Kernel\Migrate\d6
Drupal\Tests\block_content\Kernel\Migrate\d7
Drupal\Tests\block_content\Kernel\Plugin\migrate\source\d6
Drupal\Tests\block_content\Kernel\Plugin\migrate\source\d7
Drupal\Tests\block_content\Kernel\Views
Drupal\Tests\block_content\Traits
Drupal\Tests\block_content\Unit\Menu
Drupal\Tests\block_content_storage_body_field\Functional
Drupal\Tests\breakpoint\Functional
Drupal\Tests\breakpoint\Kernel
Drupal\Tests\breakpoint\Unit
Drupal\Tests\ckeditor5\Functional
Drupal\Tests\ckeditor5\FunctionalJavascript
Drupal\Tests\ckeditor5\Functional\Update
Drupal\Tests\ckeditor5\Kernel
Drupal\Tests\ckeditor5\Kernel\ConfigAction

Other projects


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