You are here

public function MenuLinkBase::getProvider in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getProvider()
  2. 10 core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\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'];
}