ContextualLinks::contextualLinkManager

protected static ContextualLinks::contextualLinkManager()

Wraps the contextual link manager.

Return value

\Drupal\Core\Menu\ContextualLinkManager

File

core/modules/contextual/src/Element/ContextualLinks.php, line 102

Class

ContextualLinks
Provides a contextual_links element.

Namespace

Drupal\contextual\Element

Code

protected static function contextualLinkManager() {
  return \Drupal::service('plugin.manager.menu.contextual_link');
}
doc_Drupal
2016-10-29 08:58:49
Comments
Leave a Comment

Please login to continue.