public function HostListBuilder::__construct in http:BL 8
Constructs a new ContactListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\Core\Routing\UrlGeneratorInterface $url_generator: The url generator.
Overrides EntityListBuilder::__construct
File
- src/
Entity/ Controller/ HostListBuilder.php, line 49
Class
- HostListBuilder
- Provides a list controller for a host entity.
Namespace
Drupal\httpbl\Entity\ControllerCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, UrlGeneratorInterface $url_generator) {
parent::__construct($entity_type, $storage);
$this->urlGenerator = $url_generator;
}