You are here

public function TransactionTypeInterface::setTargetEntityTypeId in Transaction 8

Sets the target entity type ID of this transaction.

Parameters

string $entity_type_id: The target entity type ID.

Return value

\Drupal\transaction\TransactionTypeInterface The called transaction type.

Deprecated

in transaction:8.x-1.0 and is removed from transaction:8.x-2.0. Target entity type should be set only in constructor.

1 method overrides TransactionTypeInterface::setTargetEntityTypeId()
TransactionType::setTargetEntityTypeId in src/Entity/TransactionType.php
Sets the target entity type ID of this transaction.

File

src/TransactionTypeInterface.php, line 52

Class

TransactionTypeInterface
Provides an interface defining a type of transaction.

Namespace

Drupal\transaction

Code

public function setTargetEntityTypeId($entity_type_id);