You are here

public function CurrencyImportForm::getFormId in Price 8

Same name and namespace in other branches
  1. 3.x src/Form/CurrencyImportForm.php \Drupal\price\Form\CurrencyImportForm::getFormId()
  2. 2.0.x src/Form/CurrencyImportForm.php \Drupal\price\Form\CurrencyImportForm::getFormId()
  3. 2.x src/Form/CurrencyImportForm.php \Drupal\price\Form\CurrencyImportForm::getFormId()
  4. 3.0.x src/Form/CurrencyImportForm.php \Drupal\price\Form\CurrencyImportForm::getFormId()

Returns a unique string identifying the form.

The returned ID should be a unique string that can be a valid PHP function name, since it's used in hook implementation names such as hook_form_FORM_ID_alter().

Return value

string The unique string identifying the form.

Overrides FormInterface::getFormId

File

src/Form/CurrencyImportForm.php, line 42

Class

CurrencyImportForm
Provides a form for importing currencies from library definitions.

Namespace

Drupal\price\Form

Code

public function getFormId() {
  return 'price_currency_import';
}