Search for namespaces

  1. Search 7.x for namespaces
  2. Search 9.5.x for namespaces
  3. Search 8.9.x for namespaces
  4. Search 10.3.x for namespaces
  5. Other projects
Title Object type File name Summary
AnnotatedClassDiscovery::$annotationNamespaces property core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php Additional namespaces to be scanned for annotation classes.
AnnotatedClassDiscovery::$namespaceSuffix property core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php The namespace suffix.
AnnotatedClassDiscovery::$pluginNamespaces property core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php The namespaces within which to find plugin classes.
AnnotatedClassDiscovery::$rootNamespacesIterator property core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php A list of base namespaces with their PSR-4 directories.
AnnotatedClassDiscovery::getPluginNamespaces function core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php Gets an array of PSR-4 namespaces to search for plugin classes.
AnnotatedClassDiscovery::getPluginNamespaces function core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php Gets an array of PSR-4 namespaces to search for plugin classes.
AnnotatedClassDiscoveryTest::testGetPluginNamespaces function core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php @covers ::__construct
@covers ::getPluginNamespaces
AttributeClassDiscovery::$namespaceSuffix property core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php A suffix to append to each base namespace.
AttributeClassDiscovery::getPluginNamespaces function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Gets an array of PSR-4 namespaces to search for plugin classes.
AttributeClassDiscovery::getPluginNamespaces function core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php Gets an array of PSR-4 namespaces to search for plugin classes.
AttributeClassDiscoveryTest::testGetPluginNamespaces function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php @covers ::__construct
@covers ::getPluginNamespaces
ConditionFundamentals::$namespaces property core/lib/Drupal/Core/Entity/Query/ConditionFundamentals.php List of potential namespaces of the classes belonging to this condition.
DCOM58Test::testIssueMultipleNamespaces function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Test.php
DCOM58Test::testIssueNamespaces function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Test.php
DCOM58Test::testIssueWithNamespacesOrImports function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Test.php
DefaultPluginManager::$additionalAnnotationNamespaces property core/lib/Drupal/Core/Plugin/DefaultPluginManager.php Additional annotation namespaces.
DefaultPluginManager::$namespaces property core/lib/Drupal/Core/Plugin/DefaultPluginManager.php An object of root paths that are traversable.
DefaultPluginManagerTest::$namespaces property core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php The namespaces to look for plugin definitions.
DocParser::$namespaces property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php An array of default namespaces if operating in simple mode.
DrupalKernel::getModuleNamespacesPsr4 function core/lib/Drupal/Core/DrupalKernel.php Gets the PSR-4 base directories for module namespaces.
drupal_phpunit_get_extension_namespaces function core/tests/bootstrap.php Registers the namespace for each extension directory with the autoloader.
Page header for Namespaces page group core/core.api.php Introduction to namespaces
QueryBase::$namespaces property core/lib/Drupal/Core/Entity/Query/QueryBase.php List of potential namespaces of the classes belonging to this query.
QueryBase::getNamespaces function core/lib/Drupal/Core/Entity/Query/QueryBase.php Gets a list of namespaces of the ancestors of a class.
QueryFactory::$namespaces property core/lib/Drupal/Core/Entity/KeyValueStore/Query/QueryFactory.php The namespace of this class, the parent class etc.
QueryFactory::$namespaces property core/lib/Drupal/Core/Entity/Query/Null/QueryFactory.php The namespace of this class, the parent class etc.
QueryFactory::$namespaces property core/lib/Drupal/Core/Entity/Query/Sql/QueryFactory.php The namespace of this class, the parent class etc.
QueryFactory::$namespaces property core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php The namespace of this class, the parent class etc.
Rss::$namespaces property core/modules/views/src/Plugin/views/style/Rss.php The RSS namespaces.
TestDiscovery::$testNamespaces property core/lib/Drupal/Core/Test/TestDiscovery.php Cached map of all test namespaces to respective directories.
TestDiscovery::registerTestNamespaces function core/lib/Drupal/Core/Test/TestDiscovery.php Registers test namespaces of all extensions and core test classes.
TwigNamespaceTest::testTwigNamespaces function core/modules/system/tests/src/Kernel/Theme/TwigNamespaceTest.php Tests template extension and includes using namespaces.
TwigRegistryLoaderTest::testTwigNamespaces function core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php Tests template extension and includes using the Drupal theme registry.

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