Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Condition/ConditionManager.php \Drupal\Core\Condition\ConditionManager::getType()
  2. 9 core/lib/Drupal/Core/Condition/ConditionManager.php \Drupal\Core\Condition\ConditionManager::getType()

A string identifying the plugin type.

This string should be unique and generally will correspond to the string used by the discovery, e.g. the annotation class or the YAML file name.

Return value

string A string identifying the plugin type.

Overrides FilteredPluginManagerTrait::getType

File

core/lib/Drupal/Core/Condition/ConditionManager.php, line 59

Class

ConditionManager
A plugin manager for condition plugins.

Namespace

Drupal\Core\Condition

Code

protected function getType() {
  return 'condition';
}