protected function Link::defineOptions in Views link area 8
Information about options for all kinds of purposes will be held here.
'option_name' => array(
- 'default' => default value,
- 'contains' => (optional) array of items this contains, with its own
defaults, etc. If contains is set, the default will be ignored and
assumed to be array().
),
Return value
array Returns the options of this handler/plugin.
Overrides TokenizeAreaPluginBase::defineOptions
File
- src/
Plugin/ views/ area/ Link.php, line 87
Class
- Link
- Views area Link handler.
Namespace
Drupal\views_linkarea\Plugin\views\areaCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['link_text'] = [
'default' => '',
];
$options['path'] = [
'default' => '',
];
$options['output_as_action'] = [
'default' => FALSE,
];
$options['destination'] = [
'default' => TRUE,
];
$options['prefix'] = [
'default' => '',
];
$options['suffix'] = [
'default' => '',
];
$options['external'] = [
'default' => FALSE,
];
$options['replace_spaces'] = [
'default' => FALSE,
];
$options['path_case'] = [
'default' => 'none',
];
$options['alt'] = [
'default' => '',
];
$options['rel'] = [
'default' => '',
];
$options['link_class'] = [
'default' => '',
];
$options['target'] = [
'default' => '',
];
$options['absolute'] = [
'default' => FALSE,
];
$options['rewrite_output'] = [
'default' => '',
];
$options['access_denied_text'] = [
'default' => '',
];
$options['language'] = [
'default' => '**auto**',
];
return $options;
}