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\file\Functional\Formatter
Drupal\Tests\file\Functional\Rest
Drupal\Tests\file\Kernel
Drupal\Tests\file\Kernel\Formatter
Drupal\Tests\file\Kernel\Migrate
Drupal\Tests\file\Kernel\Migrate\d6
Drupal\Tests\file\Kernel\Migrate\d7
Drupal\Tests\file\Kernel\Plugin\EntityReference
Drupal\Tests\file\Kernel\Plugin\migrate\source\d6
Drupal\Tests\file\Kernel\Plugin\migrate\source\d7
Drupal\Tests\file\Kernel\Plugin\Validation\Constraint
Drupal\Tests\file\Kernel\Upload
Drupal\Tests\file\Kernel\Validation
Drupal\Tests\file\Kernel\Views
Drupal\Tests\file\Unit
Drupal\Tests\file\Unit\Plugin\migrate\field\d6
Drupal\Tests\file\Unit\Plugin\migrate\field\d7
Drupal\Tests\file\Unit\Plugin\migrate\process\d6
Drupal\Tests\file\Unit\Upload
Drupal\Tests\filter\Functional
Drupal\Tests\filter\Functional\Rest
Drupal\Tests\filter\Kernel
Drupal\Tests\filter\Kernel\Migrate\d6
Drupal\Tests\filter\Kernel\Migrate\d7
Drupal\Tests\filter\Kernel\Plugin\migrate\process
Drupal\Tests\filter\Kernel\Plugin\migrate\source\d6
Drupal\Tests\filter\Kernel\Plugin\migrate\source\d7
Drupal\Tests\filter\Traits
Drupal\Tests\filter\Unit
Drupal\Tests\fixture\Composer\Plugin
Drupal\Tests\fixture\Composer\Plugin\DownloadsModifier
Drupal\Tests\help\Functional
Drupal\Tests\help\Kernel
Drupal\Tests\help\Unit
Drupal\Tests\image\Functional
Drupal\Tests\image\FunctionalJavascript
Drupal\Tests\image\Functional\ImageEffect
Drupal\Tests\image\Functional\Rest
Drupal\Tests\image\Kernel
Drupal\Tests\image\Kernel\Migrate\d6
Drupal\Tests\image\Kernel\Migrate\d7
Drupal\Tests\image\Kernel\Plugin\migrate\source\d6
Drupal\Tests\image\Kernel\Plugin\migrate\source\d7
Drupal\Tests\image\Kernel\Views
Drupal\Tests\image\Unit
Drupal\Tests\inline_form_errors\Functional
Drupal\Tests\inline_form_errors\FunctionalJavascript
Drupal\Tests\inline_form_errors\Kernel
Drupal\Tests\inline_form_errors\Unit
Drupal\Tests\jsonapi\Functional

Other projects


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