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\search\Functional
Drupal\Tests\search\Functional\Jsonapi
Drupal\Tests\search\Functional\Rest
Drupal\Tests\search\Functional\Update
Drupal\Tests\search\Functional\user
Drupal\Tests\search\Kernel
Drupal\Tests\search\Kernel\Migrate\d6
Drupal\Tests\search\Kernel\Migrate\d7
Drupal\Tests\search\Unit
Drupal\Tests\serialization\Functional
Drupal\Tests\serialization\Kernel
Drupal\Tests\serialization\Traits
Drupal\Tests\serialization\Unit\CompilerPass
Drupal\Tests\serialization\Unit\Encoder
Drupal\Tests\serialization\Unit\EntityResolver
Drupal\Tests\serialization\Unit\EventSubscriber
Drupal\Tests\serialization\Unit\Normalizer
Drupal\Tests\settings_tray\Functional
Drupal\Tests\settings_tray\FunctionalJavascript
Drupal\Tests\settings_tray\Unit\Access
Drupal\Tests\shortcut\Functional
Drupal\Tests\shortcut\Functional\Rest
Drupal\Tests\shortcut\Kernel
Drupal\Tests\shortcut\Kernel\Migrate
Drupal\Tests\shortcut\Kernel\Migrate\d7
Drupal\Tests\shortcut\Kernel\Plugin\migrate\source\d7
Drupal\Tests\shortcut\Unit\Menu
Drupal\Tests\sqlite\Functional
Drupal\Tests\sqlite\Kernel\sqlite
Drupal\Tests\sqlite\Kernel\sqlite\Plugin\views
Drupal\Tests\sqlite\Unit
Drupal\Tests\standard\Functional
Drupal\Tests\standard\FunctionalJavascript
Drupal\Tests\standard\Traits
Drupal\Tests\syslog\Functional
Drupal\Tests\syslog\Kernel
Drupal\Tests\syslog\Kernel\Migrate\d6
Drupal\Tests\syslog\Kernel\Migrate\d7
Drupal\Tests\system\Functional
Drupal\Tests\system\FunctionalJavascript
Drupal\Tests\system\FunctionalJavascript\Batch
Drupal\Tests\system\FunctionalJavascript\Block
Drupal\Tests\system\FunctionalJavascript\Form
Drupal\Tests\system\FunctionalJavascript\Pager
Drupal\Tests\system\FunctionalJavascript\System
Drupal\Tests\system\Functional\Ajax
Drupal\Tests\system\Functional\Batch
Drupal\Tests\system\Functional\Block
Drupal\Tests\system\Functional\Bootstrap
Drupal\Tests\system\Functional\Cache

Other projects


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