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\Core\StringTranslation
Drupal\Tests\Core\Template
Drupal\Tests\Core\Template\Loader
Drupal\Tests\Core\TempStore
Drupal\Tests\Core\Test
Drupal\Tests\Core\Test\RunTests
Drupal\Tests\Core\Theme
Drupal\Tests\Core\Transliteration
Drupal\Tests\Core\TypedData
Drupal\Tests\Core\Update
Drupal\Tests\Core\Utility
Drupal\Tests\Core\Validation\Plugin\Validation\Constraint
Drupal\Tests\datetime\Functional
Drupal\Tests\datetime\Functional\EntityResource\EntityTest
Drupal\Tests\datetime\Functional\Views
Drupal\Tests\datetime\Kernel
Drupal\Tests\datetime\Kernel\Views
Drupal\Tests\datetime\Unit\Plugin\migrate\field
Drupal\Tests\datetime_range\Functional
Drupal\Tests\datetime_range\Functional\EntityResource\EntityTest
Drupal\Tests\datetime_range\Kernel
Drupal\Tests\datetime_range\Kernel\Views
Drupal\Tests\dblog\Functional
Drupal\Tests\dblog\Kernel
Drupal\Tests\dblog\Kernel\Migrate\d6
Drupal\Tests\dblog\Kernel\Migrate\d7
Drupal\Tests\dblog\Kernel\Views
Drupal\Tests\demo_umami\Functional
Drupal\Tests\demo_umami_content\Functional
Drupal\Tests\drupal_system_listing_compatible_test\Kernel
Drupal\Tests\dynamic_page_cache\Functional
Drupal\Tests\editor\Functional
Drupal\Tests\editor\FunctionalJavascript
Drupal\Tests\editor\Functional\Rest
Drupal\Tests\editor\Kernel
Drupal\Tests\editor\Unit
Drupal\Tests\editor\Unit\EditorXssFilter
Drupal\Tests\entity_test\Functional\Rest
Drupal\Tests\field\Functional
Drupal\Tests\field\FunctionalJavascript
Drupal\Tests\field\FunctionalJavascript\Boolean
Drupal\Tests\field\FunctionalJavascript\EntityReference
Drupal\Tests\field\FunctionalJavascript\Number
Drupal\Tests\field\Functional\Boolean
Drupal\Tests\field\Functional\Email
Drupal\Tests\field\Functional\EntityReference
Drupal\Tests\field\Functional\EntityReference\Views
Drupal\Tests\field\Functional\Number
Drupal\Tests\field\Functional\Rest
Drupal\Tests\field\Functional\String

Other projects


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