public function EventListBuilder::__construct in Booking and Availability Management Tools for Drupal 8
Constructs a new EventListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
Overrides EntityListBuilder::__construct
File
- modules/
bat_event/ src/ EventListBuilder.php, line 41 - Contains \Drupal\bat_event\EventListBuilder.
Class
- EventListBuilder
- Defines a class to build a listing of Event entities.
Namespace
Drupal\bat_eventCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ConfigFactoryInterface $config_factory) {
parent::__construct($entity_type, $storage);
$this->configFactory = $config_factory;
}