public function PriceListListBuilder::__construct in Commerce Pricelist 8.2
Constructs a new PriceListListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage.
\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.
Overrides EntityListBuilder::__construct
File
- src/
PriceListListBuilder.php, line 51
Class
- PriceListListBuilder
- Defines the list builder for price lists.
Namespace
Drupal\commerce_pricelistCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, FormBuilderInterface $form_builder) {
parent::__construct($entity_type, $storage);
$this->formBuilder = $form_builder;
}