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\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\Traits
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\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\Condition
Drupal\Tests\Core\Config
Drupal\Tests\Core\Config\Action
Drupal\Tests\Core\Config\Checkpoint
Drupal\Tests\Core\Config\Entity
Drupal\Tests\Core\Config\Entity\Fixtures
Drupal\Tests\Core\Config\Entity\Query
Drupal\Tests\Core\Controller
Drupal\Tests\Core\Cron
Drupal\Tests\Core\Database
Drupal\Tests\Core\Database\Stub
Drupal\Tests\Core\Database\Stub\Driver
Drupal\Tests\Core\Datetime
Drupal\Tests\Core\DefaultContent
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
Drupal\Tests\Core\Enhancer
Drupal\Tests\Core\Entity
Drupal\Tests\Core\Entity\Access
Drupal\Tests\Core\Entity\Enhancer

Other projects


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