You are here

public function PaymentMethodConfiguration::setEntityTypeManager in Payment 8.2

Sets the entity type manager.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

Return value

$this

File

src/Entity/PaymentMethodConfiguration.php, line 225

Class

PaymentMethodConfiguration
Defines a payment method configuration entity.

Namespace

Drupal\payment\Entity

Code

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