public function ShippingMethodListBuilder::__construct in Commerce Shipping 8.2
Constructs a new ShippingMethodListBuilder 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/
ShippingMethodListBuilder.php, line 57
Class
- ShippingMethodListBuilder
- Defines the list builder for shipping methods.
Namespace
Drupal\commerce_shippingCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, FormBuilderInterface $form_builder) {
parent::__construct($entity_type, $storage);
$this->formBuilder = $form_builder;
}