Namespaces - 11.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\path\Unit\Field
Drupal\Tests\path\Unit\migrate\process
Drupal\Tests\path_alias\Functional
Drupal\Tests\path_alias\Functional\Rest
Drupal\Tests\path_alias\Functional\Update
Drupal\Tests\path_alias\Kernel
Drupal\Tests\path_alias\Unit
Drupal\Tests\path_alias\Unit\PathProcessor
Drupal\Tests\pgsql\Functional
Drupal\Tests\pgsql\Functional\Database
Drupal\Tests\pgsql\Kernel\pgsql
Drupal\Tests\pgsql\Kernel\pgsql\Plugin\views
Drupal\Tests\pgsql\Unit
Drupal\Tests\phpass\Functional
Drupal\Tests\phpass\Unit
Drupal\Tests\PhpCs
Drupal\Tests\responsive_image\Functional
Drupal\Tests\responsive_image\FunctionalJavascript
Drupal\Tests\responsive_image\Functional\Rest
Drupal\Tests\responsive_image\Kernel
Drupal\Tests\responsive_image\Kernel\Migrate\d7
Drupal\Tests\responsive_image\Kernel\Plugin\migrate\source\d7
Drupal\Tests\responsive_image\Unit
Drupal\Tests\rest\Functional
Drupal\Tests\rest\Functional\EntityResource
Drupal\Tests\rest\Functional\EntityResource\ModeratedNode
Drupal\Tests\rest\Functional\Rest
Drupal\Tests\rest\Functional\Views
Drupal\Tests\rest\Kernel
Drupal\Tests\rest\Kernel\Entity
Drupal\Tests\rest\Kernel\EntityResource
Drupal\Tests\rest\Kernel\Views
Drupal\Tests\rest\Unit
Drupal\Tests\rest\Unit\Entity
Drupal\Tests\rest\Unit\EventSubscriber
Drupal\Tests\rest\Unit\Plugin\views\style
Drupal\Tests\Scripts
Drupal\Tests\sdc\Functional
Drupal\Tests\sdc\FunctionalJavascript
Drupal\Tests\sdc\Kernel
Drupal\Tests\sdc\Traits
Drupal\Tests\sdc\Unit
Drupal\Tests\search\Functional
Drupal\Tests\search\Functional\Rest
Drupal\Tests\search\Functional\Update
Drupal\Tests\search\Kernel
Drupal\Tests\search\Kernel\Migrate\d6
Drupal\Tests\search\Kernel\Migrate\d7
Drupal\Tests\search\Unit
Drupal\Tests\serialization\Functional

Other projects


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