protected function AuthmapDeleteLink::defineOptions in External Authentication 2.0.x
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 LinkBase::defineOptions
File
- src/
Plugin/ views/ field/ AuthmapDeleteLink.php, line 68
Class
- AuthmapDeleteLink
- Field handler to present a link to delete an authmap entry.
Namespace
Drupal\externalauth\Plugin\views\fieldCode
protected function defineOptions() {
// Copy from EntityLinkBase. Maybe unnecessary, but harmless.
$options = parent::defineOptions();
$options['output_url_as_text'] = [
'default' => FALSE,
];
$options['absolute'] = [
'default' => FALSE,
];
return $options;
}