function ContextualLinksSerializer::__construct

Same name and namespace in other branches
  1. 11.x core/modules/contextual/src/ContextualLinksSerializer.php \Drupal\contextual\ContextualLinksSerializer::__construct()

File

core/modules/contextual/src/ContextualLinksSerializer.php, line 16

Class

ContextualLinksSerializer
Helper methods to handle contextual links <-> ID conversion.

Namespace

Drupal\contextual

Code

public function __construct(protected LanguageManagerInterface $languageManager) {
}

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