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\system\Kernel\Theme
Drupal\Tests\system\Kernel\Token
Drupal\Tests\system\Traits
Drupal\Tests\system\Unit
Drupal\Tests\system\Unit\Batch
Drupal\Tests\system\Unit\Breadcrumbs
Drupal\Tests\system\Unit\Event
Drupal\Tests\system\Unit\Mail
Drupal\Tests\system\Unit\Menu
Drupal\Tests\system\Unit\Pager
Drupal\Tests\system\Unit\Routing
Drupal\Tests\system\Unit\SecurityAdvisories
Drupal\Tests\taxonomy\Functional
Drupal\Tests\taxonomy\Functional\Rest
Drupal\Tests\taxonomy\Functional\Views
Drupal\Tests\taxonomy\Kernel
Drupal\Tests\taxonomy\Kernel\ContextProvider
Drupal\Tests\taxonomy\Kernel\Migrate
Drupal\Tests\taxonomy\Kernel\Migrate\d6
Drupal\Tests\taxonomy\Kernel\Migrate\d7
Drupal\Tests\taxonomy\Kernel\Plugin\migrate\source\d6
Drupal\Tests\taxonomy\Kernel\Plugin\migrate\source\d7
Drupal\Tests\taxonomy\Kernel\Views
Drupal\Tests\taxonomy\Traits
Drupal\Tests\taxonomy\Unit\Menu
Drupal\Tests\taxonomy\Unit\Plugin\migrate\field
Drupal\Tests\telephone\Functional
Drupal\Tests\telephone\Kernel
Drupal\Tests\text\Functional
Drupal\Tests\text\FunctionalJavascript
Drupal\Tests\text\Kernel
Drupal\Tests\text\Kernel\Migrate
Drupal\Tests\text\Unit\Plugin\migrate\field\d6
Drupal\Tests\text\Unit\Plugin\migrate\field\d7
Drupal\Tests\toolbar\Functional
Drupal\Tests\toolbar\FunctionalJavascript
Drupal\Tests\toolbar\Nightwatch
Drupal\Tests\toolbar\Unit\PageCache
Drupal\Tests\Traits\Core
Drupal\Tests\Traits\Core\Config
Drupal\Tests\Traits\Core\Image
Drupal\Tests\update\Functional
Drupal\Tests\update\Functional\Update
Drupal\Tests\update\Kernel
Drupal\Tests\update\Kernel\Migrate\d6
Drupal\Tests\update\Unit
Drupal\Tests\update\Unit\Menu
Drupal\Tests\user\Functional
Drupal\Tests\user\FunctionalJavascript
Drupal\Tests\user\Functional\Rest

Other projects


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