You are here

public function ScheduledTransitionsListBuilder::__construct in Scheduled Transitions 8

Same name and namespace in other branches
  1. 2.x src/ScheduledTransitionsListBuilder.php \Drupal\scheduled_transitions\ScheduledTransitionsListBuilder::__construct()

Constructs a new ScheduledTransitionsListBuilder..

Parameters

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

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

\Drupal\Core\Datetime\DateFormatterInterface $dateFormatter: Various date related functionality.

Overrides EntityListBuilder::__construct

File

src/ScheduledTransitionsListBuilder.php, line 38

Class

ScheduledTransitionsListBuilder
Scheduled transition list builder.

Namespace

Drupal\scheduled_transitions

Code

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