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\contact\Kernel\Plugin\migrate\source\d6
Drupal\Tests\contact\Kernel\Views
Drupal\Tests\contact\Unit
Drupal\Tests\content_moderation\Functional
Drupal\Tests\content_moderation\Kernel
Drupal\Tests\content_moderation\Traits
Drupal\Tests\content_moderation\Unit
Drupal\Tests\content_translation\Functional
Drupal\Tests\content_translation\FunctionalJavascript
Drupal\Tests\content_translation\Functional\Views
Drupal\Tests\content_translation\Kernel
Drupal\Tests\content_translation\Kernel\Migrate\d6
Drupal\Tests\content_translation\Kernel\Migrate\d7
Drupal\Tests\content_translation\Kernel\Plugin\migrate\source\d7
Drupal\Tests\content_translation\Unit\Access
Drupal\Tests\content_translation\Unit\Menu
Drupal\Tests\contextual\Functional
Drupal\Tests\contextual\FunctionalJavascript
Drupal\Tests\contextual\Kernel
Drupal\Tests\Core
Drupal\Tests\Core\Access
Drupal\Tests\Core\Ajax
Drupal\Tests\Core\Annotation
Drupal\Tests\Core\Assert
Drupal\Tests\Core\Asset
Drupal\Tests\Core\Authentication
Drupal\Tests\Core\Batch
Drupal\Tests\Core\Block
Drupal\Tests\Core\Breadcrumb
Drupal\Tests\Core\Cache
Drupal\Tests\Core\Cache\Context
Drupal\Tests\Core\Command
Drupal\Tests\Core\Common
Drupal\Tests\Core\Composer
Drupal\Tests\Core\Condition
Drupal\Tests\Core\Config
Drupal\Tests\Core\Config\Entity
Drupal\Tests\Core\Config\Entity\Fixtures
Drupal\Tests\Core\Config\Entity\Query
Drupal\Tests\Core\Controller
Drupal\Tests\Core\Database
Drupal\Tests\Core\Database\Stub
Drupal\Tests\Core\Database\Stub\Driver
Drupal\Tests\Core\Datetime
Drupal\Tests\Core\DependencyInjection
Drupal\Tests\Core\DependencyInjection\Compiler
Drupal\Tests\Core\DependencyInjection\Fixture
Drupal\Tests\Core\Discovery
Drupal\Tests\Core\Display
Drupal\Tests\Core\DrupalKernel

Other projects


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