MenuLinkBase::getProvider

public MenuLinkBase::getProvider()

Returns the provider (module name) of the menu link.

Return value

string The provider of the menu link.

Overrides MenuLinkInterface::getProvider

File

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

Class

MenuLinkBase
Defines a base menu link class.

Namespace

Drupal\Core\Menu

Code

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

Please login to continue.