function DevelDumperPluginManager::processDefinition
Same name in other branches
- 8.x-1.x src/DevelDumperPluginManager.php \Drupal\devel\DevelDumperPluginManager::processDefinition()
- 5.x src/DevelDumperPluginManager.php \Drupal\devel\DevelDumperPluginManager::processDefinition()
Overrides DefaultPluginManager::processDefinition
File
-
src/
DevelDumperPluginManager.php, line 40
Class
- DevelDumperPluginManager
- Plugin type manager for Devel Dumper plugins.
Namespace
Drupal\develCode
public function processDefinition(&$definition, $plugin_id) {
parent::processDefinition($definition, $plugin_id);
$definition['supported'] = (bool) call_user_func([
$definition['class'],
'checkRequirements',
]);
}