DefaultPluginManager::$subdir

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

The subdirectory within a namespace to look for plugins.

Set to FALSE if the plugins are in the top level of the namespace.

Type: string|bool

File

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

Class

DefaultPluginManager
Base class for plugin managers.

Namespace

Drupal\Core\Plugin

Code

protected $subdir;

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