function hook_prod_check_processor_info_alter in Production check & Production monitor 8
Modify the list of available production check processor plugins.
This hook may be used to modify plugin properties after they have been specified by other modules.
Parameters
array $plugins: An array of all the existing plugin definitions, passed by reference.
See also
\Drupal\prod_check\Plugin\ProdCheckProcessorPluginManager
1 invocation of hook_prod_check_processor_info_alter()
- ProdCheckProcessorPluginManager::__construct in src/
Plugin/ ProdCheckProcessorPluginManager.php - Constructs a ProdCheckProcessorPluginManager object.
File
- ./
prod_check.api.php, line 41 - Hooks provided by Production check module.
Code
function hook_prod_check_processor_info_alter(&$plugins) {
if (isset($plugins['internal'])) {
$plugins['internal']['title'] = t('My internal processor');
}
}