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\Core\Entity\KeyValueStore
Drupal\Tests\Core\Entity\Query\Sql
Drupal\Tests\Core\Entity\Routing
Drupal\Tests\Core\Entity\Sql
Drupal\Tests\Core\Entity\TypedData
Drupal\Tests\Core\Error
Drupal\Tests\Core\EventSubscriber
Drupal\Tests\Core\Extension
Drupal\Tests\Core\Extension\Requirement
Drupal\Tests\Core\Field
Drupal\Tests\Core\File
Drupal\Tests\Core\File\MimeType
Drupal\Tests\Core\Flood
Drupal\Tests\Core\Foo
Drupal\Tests\Core\Form
Drupal\Tests\Core\Form\EventSubscriber
Drupal\Tests\Core\Hook
Drupal\Tests\Core\Htmx
Drupal\Tests\Core\Http
Drupal\Tests\Core\Image
Drupal\Tests\Core\Language
Drupal\Tests\Core\Layout
Drupal\Tests\Core\Listeners
Drupal\Tests\Core\Lock
Drupal\Tests\Core\Logger
Drupal\Tests\Core\Mail
Drupal\Tests\Core\Mail\Plugin\Mail
Drupal\Tests\Core\Menu
Drupal\Tests\Core\PageCache
Drupal\Tests\Core\ParamConverter
Drupal\Tests\Core\Password
Drupal\Tests\Core\Path
Drupal\Tests\Core\PathProcessor
Drupal\Tests\Core\Plugin
Drupal\Tests\Core\Plugin\Context
Drupal\Tests\Core\Plugin\Discovery
Drupal\Tests\Core\Plugin\Fixtures
Drupal\Tests\Core\Plugin\Fixtures\Plugin\DataType
Drupal\Tests\Core\PreWarm
Drupal\Tests\Core\ProxyBuilder
Drupal\Tests\Core\Queue
Drupal\Tests\Core\Recipe
Drupal\Tests\Core\Render
Drupal\Tests\Core\Render\Element
Drupal\Tests\Core\Render\Placeholder
Drupal\Tests\Core\Render\Plugin\DisplayVariant
Drupal\Tests\Core\Route
Drupal\Tests\Core\RouteProcessor
Drupal\Tests\Core\Routing
Drupal\Tests\Core\Security

Other projects


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