DefaultHtmlRouteProvider::__construct

public DefaultHtmlRouteProvider::__construct(EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $entity_field_manager)

Constructs a new DefaultHtmlRouteProvider.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

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

File

core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php, line 56

Class

DefaultHtmlRouteProvider
Provides HTML routes for entities.

Namespace

Drupal\Core\Entity\Routing

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $entity_field_manager) {
  $this->entityTypeManager = $entity_type_manager;
  $this->entityFieldManager = $entity_field_manager;
}
doc_Drupal
2016-10-29 09:01:44
Comments
Leave a Comment

Please login to continue.