You are here

public function TransactionOperationListBuilder::__construct in Transaction 8

Constructs a new TransactionTypeListBuilder object.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.

string $transaction_type_id: The transaction type ID that operations belongs to.

Overrides EntityListBuilder::__construct

File

src/TransactionOperationListBuilder.php, line 35

Class

TransactionOperationListBuilder
Provides a entity list page for transaction operations.

Namespace

Drupal\transaction

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, $transaction_type_id) {
  parent::__construct($entity_type, $storage);
  $this->transactionTypeId = $transaction_type_id;
}