Namespaces - 10.3.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\taxonomy\Traits
Drupal\Tests\taxonomy\Unit\Menu
Drupal\Tests\taxonomy\Unit\Plugin\migrate\field
Drupal\Tests\telephone\Functional
Drupal\Tests\telephone\Kernel
Drupal\Tests\TestSuites
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\Unit\PageCache
Drupal\Tests\tour\Functional
Drupal\Tests\tour\FunctionalJavascript
Drupal\Tests\tour\Functional\Block
Drupal\Tests\tour\Functional\Jsonapi
Drupal\Tests\tour\Functional\Language
Drupal\Tests\tour\Functional\Locale
Drupal\Tests\tour\Functional\Rest
Drupal\Tests\tour\Functional\ViewsUi
Drupal\Tests\tour\Kernel
Drupal\Tests\tour\Unit
Drupal\Tests\tour\Unit\Entity
Drupal\Tests\tracker\Functional
Drupal\Tests\tracker\Functional\Migrate
Drupal\Tests\tracker\Kernel\Migrate\d7
Drupal\Tests\tracker\Kernel\Plugin\migrate\source\d7
Drupal\Tests\tracker\Kernel\Views
Drupal\Tests\Traits
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
Drupal\Tests\user\Functional\Update
Drupal\Tests\user\Functional\Views
Drupal\Tests\user\Kernel
Drupal\Tests\user\Kernel\Condition
Drupal\Tests\user\Kernel\ContextProvider
Drupal\Tests\user\Kernel\Controller

Other projects


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