protected static function ContextualLinks::moduleHandler in Drupal 10
Same name and namespace in other branches
- 8 core/modules/contextual/src/Element/ContextualLinks.php \Drupal\contextual\Element\ContextualLinks::moduleHandler()
- 9 core/modules/contextual/src/Element/ContextualLinks.php \Drupal\contextual\Element\ContextualLinks::moduleHandler()
Wraps the module handler.
Return value
\Drupal\Core\Extension\ModuleHandlerInterface
1 call to ContextualLinks::moduleHandler()
- ContextualLinks::preRenderLinks in core/
modules/ contextual/ src/ Element/ ContextualLinks.php - Pre-render callback: Builds a renderable array for contextual links.
File
- core/
modules/ contextual/ src/ Element/ ContextualLinks.php, line 112
Class
- ContextualLinks
- Provides a contextual_links element.
Namespace
Drupal\contextual\ElementCode
protected static function moduleHandler() {
return \Drupal::moduleHandler();
}