function AttributeClassDiscovery::getPluginNamespaces

Same name in this branch
  1. 11.x core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php \Drupal\Core\Plugin\Discovery\AttributeClassDiscovery::getPluginNamespaces()
Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php \Drupal\Core\Plugin\Discovery\AttributeClassDiscovery::getPluginNamespaces()
  2. 10 core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php \Drupal\Component\Plugin\Discovery\AttributeClassDiscovery::getPluginNamespaces()

Gets an array of PSR-4 namespaces to search for plugin classes.

Return value

string[][]

1 call to AttributeClassDiscovery::getPluginNamespaces()
AttributeClassDiscovery::getDefinitions in core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php
Gets the definition of all plugins for this type.
1 method overrides AttributeClassDiscovery::getPluginNamespaces()
AttributeClassDiscovery::getPluginNamespaces in core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php
Gets an array of PSR-4 namespaces to search for plugin classes.

File

core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php, line 156

Class

AttributeClassDiscovery
Defines a discovery mechanism to find plugins with attributes.

Namespace

Drupal\Component\Plugin\Discovery

Code

protected function getPluginNamespaces() : array {
    return $this->pluginNamespaces;
}

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