public function AccesslogPath::buildOptionsForm in Views (for Drupal 7) 8.3
Provide link to the page being visited.
Overrides FieldPluginBase::buildOptionsForm
File
- lib/
Views/ statistics/ Plugin/ views/ field/ AccesslogPath.php, line 47 - Definition of Views\statistics\Plugin\views\field\AccesslogPath.
Class
- AccesslogPath
- Field handler to provide simple renderer that turns a URL into a clickable link.
Namespace
Views\statistics\Plugin\views\fieldCode
public function buildOptionsForm(&$form, &$form_state) {
$form['display_as_link'] = array(
'#title' => t('Display as link'),
'#type' => 'checkbox',
'#default_value' => !empty($this->options['display_as_link']),
);
parent::buildOptionsForm($form, $form_state);
}