You are here

public function ContextualLinkDefault::getOptions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 43
Contains \Drupal\Core\Menu\ContextualLinkDefault.

Class

ContextualLinkDefault
Provides a common base implementation of a contextual link.

Namespace

Drupal\Core\Menu

Code

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