function EntityModerationRouteProvider::__construct

Same name in other branches
  1. 9 core/modules/content_moderation/src/Entity/Routing/EntityModerationRouteProvider.php \Drupal\content_moderation\Entity\Routing\EntityModerationRouteProvider::__construct()
  2. 8.9.x core/modules/content_moderation/src/Entity/Routing/EntityModerationRouteProvider.php \Drupal\content_moderation\Entity\Routing\EntityModerationRouteProvider::__construct()
  3. 11.x core/modules/content_moderation/src/Entity/Routing/EntityModerationRouteProvider.php \Drupal\content_moderation\Entity\Routing\EntityModerationRouteProvider::__construct()

Constructs a new DefaultHtmlRouteProvider.

Parameters

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.

File

core/modules/content_moderation/src/Entity/Routing/EntityModerationRouteProvider.php, line 38

Class

EntityModerationRouteProvider
Dynamic route provider for the Content moderation module.

Namespace

Drupal\content_moderation\Entity\Routing

Code

public function __construct(EntityFieldManagerInterface $entity_field_manager) {
    $this->entityFieldManager = $entity_field_manager;
}

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