You are here

public function FeaturesAssignmentMethodBase::setEntityTypeManager in Features 8.4

Same name and namespace in other branches
  1. 8.3 src/FeaturesAssignmentMethodBase.php \Drupal\features\FeaturesAssignmentMethodBase::setEntityTypeManager()

Injects the entity manager.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager to be used to retrieve entity information.

Overrides FeaturesAssignmentMethodInterface::setEntityTypeManager

File

src/FeaturesAssignmentMethodBase.php, line 58

Class

FeaturesAssignmentMethodBase
Base class for package assignment methods.

Namespace

Drupal\features

Code

public function setEntityTypeManager(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}