public function BlocktabsListBuilder::__construct in Block Tabs 8
Constructs a new BlocktabsListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The blocktabs entity storage class.
\Drupal\Core\Routing\UrlGeneratorInterface $url_generator: The URL generator.
Overrides EntityListBuilder::__construct
File
- src/
BlocktabsListBuilder.php, line 36
Class
- BlocktabsListBuilder
- Defines a class to build a listing of blocktabs entities.
Namespace
Drupal\blocktabsCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $entity_storage, UrlGeneratorInterface $url_generator) {
parent::__construct($entity_type, $entity_storage);
$this->urlGenerator = $url_generator;
}