function custom_pub_rules_action_set_publish_type_options in Custom Publishing Options 7
Gets the list of options for the "custom_pub_rules_action_set_publish_type" Rule Action.
Return value
array
1 string reference to 'custom_pub_rules_action_set_publish_type_options'
- custom_pub_rules_action_info in ./
custom_pub.rules.inc - Implements hook_rules_action_info().
File
- ./
custom_pub.rules.inc, line 79 - Rules integration for Custom Publishing Options module.
Code
function custom_pub_rules_action_set_publish_type_options() {
return array(
1 => t('Toggle on'),
0 => t('Toggle off'),
);
}