function profanity_views_handler_search_excerpt::options_form in Profanity 7
Provide link to node option
Overrides profanity_views_handler_field::options_form
File
- ./
profanity.views.inc, line 193 - Provide additional Views fields for entity content.
Class
Code
function options_form(&$form, &$form_state) {
$form['profanity_lists'] = array(
'#title' => t('Profanity lists to run'),
'#type' => 'checkboxes',
'#options' => profanity_get_lists_flat(),
'#default_value' => !empty($this->options['profanity_lists']) ? $this->options['profanity_lists'] : array(),
'#description' => t('Select which lists will be applied to the entity title.'),
);
parent::options_form($form, $form_state);
}