function MenuLinkBase::getProvider

Same name 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()
  3. 11.x core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getProvider()

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.