You are here

function custom_spam_custom_operations in Spam 5.3

Define callbacks for custom filter options.

File

filters/custom/custom.module, line 262

Code

function custom_spam_custom_operations() {
  $operations = array(
    'disable' => array(
      'label' => t('Disable'),
      'callback' => 'custom_spam_filter_operations',
      'callback arguments' => array(
        'disable',
      ),
    ),
    'delete' => array(
      'label' => t('Delete'),
      'callback' => 'custom_spam_filter_operations',
      'callback arguments' => array(
        'delete',
      ),
    ),
  );
  return $operations;
}