function ContextualLinks::moduleHandler

Same name in other branches
  1. 9 core/modules/contextual/src/Element/ContextualLinks.php \Drupal\contextual\Element\ContextualLinks::moduleHandler()
  2. 8.9.x core/modules/contextual/src/Element/ContextualLinks.php \Drupal\contextual\Element\ContextualLinks::moduleHandler()
  3. 11.x core/modules/contextual/src/Element/ContextualLinks.php \Drupal\contextual\Element\ContextualLinks::moduleHandler()

Wraps the module handler.

Return value

\Drupal\Core\Extension\ModuleHandlerInterface

File

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

Class

ContextualLinks
Provides a contextual_links element.

Namespace

Drupal\contextual\Element

Code

protected static function moduleHandler() {
    return \Drupal::moduleHandler();
}

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