You are here

public function MenuLinkInterface::getProvider in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Menu/MenuLinkInterface.php \Drupal\Core\Menu\MenuLinkInterface::getProvider()
  2. 9 core/lib/Drupal/Core/Menu/MenuLinkInterface.php \Drupal\Core\Menu\MenuLinkInterface::getProvider()

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

Return value

string The provider of the menu link.

File

core/lib/Drupal/Core/Menu/MenuLinkInterface.php, line 52

Class

MenuLinkInterface
Defines an interface for classes providing a type of menu link.

Namespace

Drupal\Core\Menu

Code

public function getProvider();