function PluginTestHooks::pluginTestAlter
Implements hook_plugin_test_alter().
File
-
core/
modules/ system/ tests/ modules/ plugin_test/ src/ Hook/ PluginTestHooks.php, line 31
Class
- PluginTestHooks
- Hook implementations for plugin_test.
Namespace
Drupal\plugin_test\HookCode
public function pluginTestAlter(&$definitions) : void {
foreach ($definitions as &$definition) {
$definition['altered'] = TRUE;
}
$definitions['user_login']['altered_single'] = TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.