public function PathFileEntityListBuilder::__construct in Path File 8
Constructs a new NodeListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
Overrides EntityListBuilder::__construct
File
- src/
PathFileEntityListBuilder.php, line 36
Class
- PathFileEntityListBuilder
- Defines a class to build a listing of Path file entity entities.
Namespace
Drupal\path_fileCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, DateFormatterInterface $date_formatter) {
parent::__construct($entity_type, $storage);
$this->dateFormatter = $date_formatter;
}