social_links_list module hooks - Hooks created by the social_links_list module
- extend the list of available links, and add fields to the manage interface
hook_social_links_list_list
Parameters:
none
Returns:
array(
'Link name' => array(
'value' => string - url (external)
'image' => string - imagecached filepath of image
'icon_text' => string - text to display (as filtered through our custom icon font)
)...
)
Description:
Return an array of possible social links with name, url, and image. (This function is called for display.)
hook_social_links_list_manage
Parameters:
none
Returns:
array(
'module_name' => array(
'fields' => array() - as per forms API
'validate' => string - form validate function
'submit' => string - form submit function
)
)
Description:
Create form fields for footer link management on manage/settings/social_links, and declare submit and validate functions