function hook_social_media_links_platform_info_alter in Social Media Links Block and Field 7
Change the platforms.
Parameters
array $platforms: A associative array with the defined platforms.
1 invocation of hook_social_media_links_platform_info_alter()
- social_media_links_platforms in ./
social_media_links.module - Get the available platforms.
File
- ./
social_media_links.api.php, line 51 - API documentation for Social Media Links Block module.
Code
function hook_social_media_links_platform_info_alter(&$platforms) {
// Change the title for Google Plus.
$platforms['googleplus']['title'] = t('Google Plus');
}