You are here

public function Currency::setEntityTypeManager in Currency 8.3

Sets the entity type manager.

Parameters

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

Return value

$this

File

src/Entity/Currency.php, line 344

Class

Currency
Defines a currency entity class.

Namespace

Drupal\currency\Entity

Code

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