public function TransactionTypeListBuilder::__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.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\transaction\TransactorPluginManager $transactor_manager: The transactor plugin manager.
Overrides EntityListBuilder::__construct
File
- src/
TransactionTypeListBuilder.php, line 44
Class
- TransactionTypeListBuilder
- Provides a entity list page for transaction types.
Namespace
Drupal\transactionCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, EntityTypeManagerInterface $entity_type_manager, TransactorPluginManager $transactor_manager) {
parent::__construct($entity_type, $storage);
$this->entityTypeManager = $entity_type_manager;
$this->transactorManager = $transactor_manager;
}