function hook_freelinking_plugin_info_alter in Freelinking 4.0.x
Same name and namespace in other branches
- 8.3 freelinking.api.php \hook_freelinking_plugin_info_alter()
Used to alter the plugin definition of freelinking plugins.
Parameters
array $plugins: An array of all existing plugin definitions, passed by reference.
See also
\Drupal\freelinking\Annotation\Freelinking
1 invocation of hook_freelinking_plugin_info_alter()
- FreelinkingManager::__construct in src/
FreelinkingManager.php - Creates the discovery object.
File
- ./
freelinking.api.php, line 21 - API documentation for Freelinking.
Code
function hook_freelinking_plugin_info_alter(array &$plugins) {
$plugins['someplugin']['title'] = t('Better title');
}