Search for namespaces

  1. Search 7.x for namespaces
  2. Search 9.5.x for namespaces
  3. Search 10.3.x for namespaces
  4. Search 11.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 A suffix to append to each base namespace, to obtain the namespaces where
plugins are found.
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/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php Gets an array of PSR-4 namespaces to search for plugin classes.
AnnotatedClassDiscovery::getPluginNamespaces function core/lib/Drupal/Core/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
ConditionFundamentals::$namespaces property core/lib/Drupal/Core/Entity/Query/ConditionFundamentals.php List of potential namespaces of the classes belonging to this condition.
container.namespaces service core/core.services.yml ArrayObject
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 namespaces the annotation discovery mechanism should scan for
annotation definitions.
DefaultPluginManager::$namespaces property core/lib/Drupal/Core/Plugin/DefaultPluginManager.php An object that implements \Traversable which contains the root paths
keyed by the corresponding namespace to look for plugin implementations.
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.
GetRdfNamespacesTest class core/modules/rdf/tests/src/Functional/GetRdfNamespacesTest.php Tests hook_rdf_namespaces().
GetRdfNamespacesTest.php file core/modules/rdf/tests/src/Functional/GetRdfNamespacesTest.php
GetRdfNamespacesTest::$defaultTheme property core/modules/rdf/tests/src/Functional/GetRdfNamespacesTest.php The theme to install as the default for testing.
GetRdfNamespacesTest::$modules property core/modules/rdf/tests/src/Functional/GetRdfNamespacesTest.php Modules to enable.
GetRdfNamespacesTest::testGetRdfNamespaces function core/modules/rdf/tests/src/Functional/GetRdfNamespacesTest.php Tests getting RDF namespaces.
hook_rdf_namespaces function core/modules/rdf/rdf.api.php Allow modules to define namespaces for RDF mappings.
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/Query/Sql/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/Config/Entity/Query/QueryFactory.php The namespace of this class, the parent class etc.
QueryFactory::$namespaces property core/lib/Drupal/Core/Entity/KeyValueStore/Query/QueryFactory.php The namespace of this class, the parent class etc.
rdf_conflicting_namespaces.info.yml file core/modules/rdf/tests/rdf_conflicting_namespaces/rdf_conflicting_namespaces.info.yml core/modules/rdf/tests/rdf_conflicting_namespaces/rdf_conflicting_namespaces.info.yml
rdf_conflicting_namespaces.module file core/modules/rdf/tests/rdf_conflicting_namespaces/rdf_conflicting_namespaces.module Test the namespace registration functionality.
rdf_conflicting_namespaces_rdf_namespaces function core/modules/rdf/tests/rdf_conflicting_namespaces/rdf_conflicting_namespaces.module Implements hook_rdf_namespaces().
rdf_get_namespaces function core/modules/rdf/rdf.module Retrieves RDF namespaces.
rdf_rdf_namespaces function core/modules/rdf/rdf.module Implements hook_rdf_namespaces().
rdf_test_namespaces.info.yml file core/modules/rdf/tests/rdf_test_namespaces/rdf_test_namespaces.info.yml core/modules/rdf/tests/rdf_test_namespaces/rdf_test_namespaces.info.yml
rdf_test_namespaces.module file core/modules/rdf/tests/rdf_test_namespaces/rdf_test_namespaces.module Test the namespace registration functionality.
rdf_test_namespaces_rdf_namespaces function core/modules/rdf/tests/rdf_test_namespaces/rdf_test_namespaces.module Implements hook_rdf_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.