public function MessageListBuilder::__construct in Mass Contact 8
Mass contact message list builder constructor.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
Overrides EntityListBuilder::__construct
File
- src/
MessageListBuilder.php, line 34
Class
- MessageListBuilder
- Mass contact message archive list builder.
Namespace
Drupal\mass_contactCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, DateFormatterInterface $date_formatter) {
parent::__construct($entity_type, $storage);
$this->dateFormatter = $date_formatter;
}