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\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\stable9\Kernel
Drupal\Tests\stable9\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
Drupal\Tests\system\Functional\Command
Drupal\Tests\system\Functional\Common
Drupal\Tests\system\Functional\Condition
Drupal\Tests\system\Functional\Database
Drupal\Tests\system\Functional\Datetime
Drupal\Tests\system\Functional\DrupalKernel
Drupal\Tests\system\Functional\Entity
Drupal\Tests\system\Functional\Entity\Traits
Drupal\Tests\system\Functional\Extension
Drupal\Tests\system\Functional\File
Drupal\Tests\system\Functional\Form
Drupal\Tests\system\Functional\Hook
Drupal\Tests\system\Functional\Lock
Drupal\Tests\system\Functional\Menu
Drupal\Tests\system\Functional\Module
Drupal\Tests\system\Functional\Page
Drupal\Tests\system\Functional\Pager
Drupal\Tests\system\Functional\ParamConverter
Drupal\Tests\system\Functional\Recipe
Drupal\Tests\system\Functional\Render
Drupal\Tests\system\Functional\Rest
Drupal\Tests\system\Functional\Routing
Drupal\Tests\system\Functional\SecurityAdvisories
Drupal\Tests\system\Functional\ServiceProvider

Other projects


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