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\views_ui\FunctionalJavascript
Drupal\Tests\views_ui\Kernel
Drupal\Tests\views_ui\Unit
Drupal\Tests\views_ui\Unit\Form\Ajax
Drupal\Tests\workflows\Functional
Drupal\Tests\workflows\Functional\Rest
Drupal\Tests\workflows\Kernel
Drupal\Tests\workflows\Unit
Drupal\Tests\workspaces\Functional
Drupal\Tests\workspaces\FunctionalJavascript
Drupal\Tests\workspaces\Functional\EntityResource
Drupal\Tests\workspaces\Functional\UpdateSystem
Drupal\Tests\workspaces\Kernel
Drupal\Tests\workspaces\Unit
Drupal\TestTools
Drupal\TestTools\Comparator
Drupal\TestTools\Extension
Drupal\TestTools\PhpUnitCompatibility
Drupal\TestTools\PhpUnitCompatibility\PhpUnit8
Drupal\TestTools\PhpUnitCompatibility\PhpUnit9
Drupal\test_datatype_boolean_emoji_normalizer\Normalizer
Drupal\test_fieldtype_boolean_emoji_normalizer\Normalizer
Drupal\test_page_test\Controller
Drupal\test_page_test\Form
Drupal\test_theme
Drupal\text
Drupal\text\Plugin\Field\FieldFormatter
Drupal\text\Plugin\Field\FieldType
Drupal\text\Plugin\Field\FieldWidget
Drupal\text\Plugin\migrate\field\d6
Drupal\text\Plugin\migrate\field\d7
Drupal\theme_legacy_test
Drupal\theme_test
Drupal\theme_test\EventSubscriber
Drupal\theme_test\Theme
Drupal\token_test\Controller
Drupal\toolbar\Ajax
Drupal\toolbar\Controller
Drupal\toolbar\Element
Drupal\toolbar\Menu
Drupal\toolbar\PageCache
Drupal\tour
Drupal\tour\Annotation
Drupal\tour\Entity
Drupal\tour\Plugin\HelpSection
Drupal\tour\Plugin\tour\tip
Drupal\tour_test\Controller
Drupal\tour_test\Plugin\tour\tip
Drupal\tracker\Controller
Drupal\tracker\Plugin\Menu

Other projects


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