sn_status hooks - hooks created by the sn_status module
- These hooks regulate Bombplates interaction with 3rd party social-networking services. Usually this means posting updates to them.
hook_sn_status
Parameters:
&$node => fully-loaded node
Returns:
array(
'module_name' => array( details )
)
Description:
Returns an array of details that may be passed to this modules individual
postOut function (found in include/postOut/)
hook_sn_status_test
Paramaters:
$text => string - text of test post
$dst => string - final destination after posting
Returns:
array(
'module_name' => array( details )
)
Description:
Returns an array of details that may be passed to this modules individual postOut function (found in include/postOut/) Called after configuring sn_status settings to test posting capabilities
hook_sn_status_show_reminder
Parameters:
$show => array - a loaded show
Returns:
array(
'module_name' => array( details )
)
Description:
Returns an array of details that may be passed to this modules individual postOut function (found in include/postOut/) Called when posting show reminders.
hook_sn_status_share_link
Parameters:
$url => string - a full url or FALSE
Returns:
string - HTML for display
Description:
Generate a share link or button for a URL
Parameters:
None
Returns
array() - per drupal forms api
Description:
Add control fields to content creation forms. These regulate whether links to the content will be posted to this social network