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\entity_test\Routing
Drupal\entity_test\TypedData
Drupal\entity_test_attribute_bundle_class\Entity
Drupal\entity_test_attribute_bundle_class\Entity\Subdir
Drupal\entity_test_attribute_bundle_class\Hook
Drupal\entity_test_bundle_class\Entity
Drupal\entity_test_bundle_class\Hook
Drupal\entity_test_constraints\Hook
Drupal\entity_test_operation\Hook
Drupal\entity_test_revlog
Drupal\entity_test_revlog\Entity
Drupal\entity_test_update
Drupal\entity_test_update\Entity
Drupal\entity_test_update\EventSubscriber
Drupal\entity_test_update\Hook
Drupal\entity_test_update\Plugin\Field\FieldType
Drupal\error_service_test
Drupal\error_service_test\Controller
Drupal\error_service_test\Logger
Drupal\error_test\Controller
Drupal\experimental_module_requirements_test\Hook
Drupal\experimental_module_requirements_test\Install\Requirements
Drupal\experimental_module_test\Hook
Drupal\field
Drupal\field\Entity
Drupal\field\Hook
Drupal\field\Plugin\ConfigAction
Drupal\field\Plugin\migrate\field
Drupal\field\Plugin\migrate\field\d7
Drupal\field\Plugin\migrate\process
Drupal\field\Plugin\migrate\process\d6
Drupal\field\Plugin\migrate\process\d7
Drupal\field\Plugin\migrate\source\d6
Drupal\field\Plugin\migrate\source\d7
Drupal\field\Plugin\Validation\Constraint
Drupal\field_discovery_test
Drupal\field_normalization_test\Normalization
Drupal\field_plugins_test\Plugin\Field\FieldFormatter
Drupal\field_plugins_test\Plugin\Field\FieldWidget
Drupal\field_storage_entity_type_dependency_test\Hook
Drupal\field_test
Drupal\field_test\Form
Drupal\field_test\Hook
Drupal\field_test\Plugin\Field\FieldFormatter
Drupal\field_test\Plugin\Field\FieldType
Drupal\field_test\Plugin\Field\FieldWidget
Drupal\field_test\Plugin\Validation\Constraint
Drupal\field_test_boolean_access_denied\Hook
Drupal\field_third_party_test\Hook
Drupal\field_ui

Other projects


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