public function UcWishlistListBuilder::__construct in UC Wish List 8
Constructing a new UcWishlistListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\Core\Entity\Query\QueryFactory $query_factory: The entity query factory.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
\Drupal\Core\Routing\RedirectDestinationInterface $redirect_destination: The redirect destination service.
Overrides EntityListBuilder::__construct
File
- src/
UcWishlistListBuilder.php, line 51
Class
- UcWishlistListBuilder
- Defining a class for building list of wishlist entities.
Namespace
Drupal\uc_wishlistCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, QueryFactory $query_factory, DateFormatterInterface $date_formatter, RedirectDestinationInterface $redirect_destination) {
parent::__construct($entity_type, $storage);
$this->queryFactory = $query_factory;
$this->dateFormatter = $date_formatter;
$this->redirectDestination = $redirect_destination;
}