function _antispam_get_email_for_options in AntiSpam 7
Returns the array of fields for AntiSpam block configuration. Called from hook_block_view(), hook_block_save() and hook_block_configure().
3 calls to _antispam_get_email_for_options()
- antispam_form_alter in ./
antispam.module - Implements hook_form_alter().
- antispam_user_insert in ./
antispam.module - Implements hook_user_insert().
- antispam_user_load in ./
antispam.module - Implements hook_user_load().
File
- ./
antispam.module, line 1493 - Primary hook implementations for the Antispam module.
Code
function _antispam_get_email_for_options() {
return array(
'all' => t('All new (or updated) content'),
'approval' => t('Only content needing approval'),
'never' => t('Never'),
);
}