public function ContextualLinkDefault::getOptions in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Menu/ContextualLinkDefault.php \Drupal\Core\Menu\ContextualLinkDefault::getOptions()
Returns the link options passed to the link generator.
Return value
array An associative array of options.
Overrides ContextualLinkInterface::getOptions
File
- core/
lib/ Drupal/ Core/ Menu/ ContextualLinkDefault.php, line 38
Class
- ContextualLinkDefault
- Provides a common base implementation of a contextual link.
Namespace
Drupal\Core\MenuCode
public function getOptions() {
return $this->pluginDefinition['options'];
}