Namespaces - 9.5.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 1539

Namespace
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\Migrate\d6
Drupal\Tests\text\Unit\Migrate\d7
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\Rest
Drupal\Tests\tour\Functional\Update
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
Drupal\Tests\user\Kernel\Field
Drupal\Tests\user\Kernel\Form
Drupal\Tests\user\Kernel\Migrate
Drupal\Tests\user\Kernel\Migrate\d6
Drupal\Tests\user\Kernel\Migrate\d7
Drupal\Tests\user\Kernel\Plugin\migrate\source

Other projects


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