function fb_social_send_type in Facebook social plugins integration 6
helper function for testing wether $type is selected to be a fb_social_send type
3 calls to fb_social_send_type()
- fb_social_send_content_extra_fields in modules/
fb_social_send/ fb_social_send.module - Implementation of hook_content_extra_fields.
- fb_social_send_link in modules/
fb_social_send/ fb_social_send.module - Implementation of hook_link
- fb_social_send_nodeapi in modules/
fb_social_send/ fb_social_send.module - Implementation of hook_nodeapi().
File
- modules/
fb_social_send/ fb_social_send.module, line 163
Code
function fb_social_send_type($type) {
$fb_send_types = variable_get('fb_social_send_node_types', array());
return isset($fb_send_types[$type]) && $fb_send_types[$type] ? TRUE : FALSE;
}