You are here

public function PaymentStatus::setEntityTypeManager in Payment 8.2

Sets the entity type manager.

Parameters

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

Return value

$this

File

src/Entity/PaymentStatus.php, line 154

Class

PaymentStatus
Defines a payment status entity.

Namespace

Drupal\payment\Entity

Code

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