public function ContextualLinkDefault::getOptions

public 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'];
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!ContextualLinkDefault.php/function/ContextualLinkDefault::getOptions/8.1.x