protected function AuthmapDeleteLink::defineOptions in SAML Authentication 4.x
Same name and namespace in other branches
- 8.3 src/Plugin/views/field/AuthmapDeleteLink.php \Drupal\samlauth\Plugin\views\field\AuthmapDeleteLink::defineOptions()
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 90
Class
- AuthmapDeleteLink
- Field handler to present a link to delete an authmap entry.
Namespace
Drupal\samlauth\Plugin\views\fieldCode
protected function defineOptions() {
// Copy from EntityLinkBase. Likely unnecessary, but harmless.
$options = parent::defineOptions();
$options['output_url_as_text'] = [
'default' => FALSE,
];
$options['absolute'] = [
'default' => FALSE,
];
return $options;
}