3 namespace Drupal\Core\Form;
6 * Provides an interface for a Form that has a base form ID.
8 * This will become the $form_state->getBaseInfo()['base_form_id'] used to
9 * generate the name of hook_form_BASE_FORM_ID_alter().
11 interface BaseFormIdInterface extends FormInterface {
14 * Returns a string identifying the base form.
17 * The string identifying the base form or NULL if this is not a base form.
19 public function getBaseFormId();