DefaultPluginManager::$namespaces

Same name in other branches
  1. 9 core/lib/Drupal/Core/Plugin/DefaultPluginManager.php \Drupal\Core\Plugin\DefaultPluginManager::namespaces
  2. 10 core/lib/Drupal/Core/Plugin/DefaultPluginManager.php \Drupal\Core\Plugin\DefaultPluginManager::namespaces
  3. 11.x core/lib/Drupal/Core/Plugin/DefaultPluginManager.php \Drupal\Core\Plugin\DefaultPluginManager::namespaces

An object that implements \Traversable which contains the root paths keyed by the corresponding namespace to look for plugin implementations.

Type: \Traversable

File

core/lib/Drupal/Core/Plugin/DefaultPluginManager.php, line 96

Class

DefaultPluginManager
Base class for plugin managers.

Namespace

Drupal\Core\Plugin

Code

protected $namespaces;

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