MenuLinkBase::getOptions

public MenuLinkBase::getOptions()

Returns the options for this link.

Return value

array An associative array of options.

Overrides MenuLinkInterface::getOptions

File

core/lib/Drupal/Core/Menu/MenuLinkBase.php, line 94

Class

MenuLinkBase
Defines a base menu link class.

Namespace

Drupal\Core\Menu

Code

public function getOptions() {
  return $this->pluginDefinition['options'] ? : array();
}
doc_Drupal
2016-10-29 09:26:24
Comments
Leave a Comment

Please login to continue.