DefaultPluginManager::$additionalAnnotationNamespaces

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

Additional annotation namespaces.

The annotation discovery mechanism should scan these for annotation definitions.

Type: string[]

File

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

Class

DefaultPluginManager
Base class for plugin managers.

Namespace

Drupal\Core\Plugin

Code

protected $additionalAnnotationNamespaces = [];

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