You are here

public function AddToCartFormInterface::setFormId in Commerce Core 8.2

Sets the form ID.

Parameters

string $form_id: The form ID.

Return value

$this

1 method overrides AddToCartFormInterface::setFormId()
AddToCartForm::setFormId in modules/cart/src/Form/AddToCartForm.php
Sets the form ID.

File

modules/cart/src/Form/AddToCartFormInterface.php, line 26

Class

AddToCartFormInterface
Provides the add to cart form interface.

Namespace

Drupal\commerce_cart\Form

Code

public function setFormId($form_id);