FormBuilder::getFormId

public function FormBuilder::getFormId

public FormBuilder::getFormId($form_arg, FormStateInterface &$form_state)

Determines the ID of a form.

Parameters

\Drupal\Core\Form\FormInterface|string $form_arg: The value is identical to that of self::getForm()'s $form_arg argument.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Return value

string The unique string identifying the desired form.

Overrides 登录查看完整内容