You are here

function hook_prod_check_categories_info_alter in Production check & Production monitor 8

Modify the list of available production check processor categories.

This hook may be used to modify plugin properties after they have been specified by other modules.

If you want to add a new one it is preferred that you create a yml file names [module].prod_check_categories.yml

Parameters

array $plugins: An array of all the existing plugin definitions, passed by reference.

See also

\Drupal\prod_check\Plugin\ProdCheckProcessorPluginManager

File

./prod_check.api.php, line 61
Hooks provided by Production check module.

Code

function hook_prod_check_categories_info_alter(&$plugins) {
  if (isset($plugins['settings'])) {
    $plugins['settings']['title'] = t('My settings title');
  }
}