function scald_views_handler_field_actions::options_form in Scald: Media Management made easy 7
Default options form provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- includes/
scald_views_handler_field_actions.inc, line 13 - Provides a field containing the actions allowed for the current user on an atom
Class
- scald_views_handler_field_actions
- @file Provides a field containing the actions allowed for the current user on an atom
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['end_user_links'] = array(
'#type' => 'checkbox',
'#title' => t('Display links for end users'),
'#description' => t('If this is checked, a list of action links targeted towards end users is shown. If this is unchecked, then the raw labels of the actions checked on the atom will be displayed instead.'),
'#default_value' => $this->options['end_user_links'],
);
}