function hook_easy_social_widget_alter in Easy Social 8.4
Same name and namespace in other branches
- 8.3 easy_social.api.php \hook_easy_social_widget_alter()
Implements hook_easy_social_widget_alter().
Allow modules to alter Easy Social widget information.
Parameters
array: An array of widget information, as defined in hook_easy_social_widget()
1 invocation of hook_easy_social_widget_alter()
- easy_social_get_widgets in ./
easy_social.module - Return the available widgets.
File
- ./
easy_social.api.php, line 52
Code
function hook_easy_social_widget_alter(&$widgets) {
$widgets['example']['name'] = 'Example Widget Altered';
}