You are here

public function ContextualLinkDefault::getOptions in Drupal 9

Same name and namespace in other branches
  1. 8 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\Menu

Code

public function getOptions() {
  return $this->pluginDefinition['options'];
}