function crm_core_activity_handler_field_link_edit::options_form in CRM Core 7
Default options form provides the label widget that all fields should have.
Overrides crm_core_activity_handler_field_link::options_form
File
- modules/
crm_core_activity/ views/ handlers/ crm_core_activity_handler_field_links.inc, line 55 - Provides views handlers for View, Edit, Delete links.
Class
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['redirect'] = array(
'#type' => 'checkbox',
'#title' => t('Redirect user'),
'#description' => t('Add "destination" key to the link so user will be redirected on the page where he clicked on the link'),
'#default_value' => $this->options['redirect'],
);
}