Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Form/BaseFormIdInterface.php \Drupal\Core\Form\BaseFormIdInterface::getBaseFormId()
  2. 9 core/lib/Drupal/Core/Form/BaseFormIdInterface.php \Drupal\Core\Form\BaseFormIdInterface::getBaseFormId()

Returns a string identifying the base form.

Return value

string|null The string identifying the base form or NULL if this is not a base form.

5 methods override BaseFormIdInterface::getBaseFormId()
AddFormBase::getBaseFormId in core/modules/media_library/src/Form/AddFormBase.php
Returns a string identifying the base form.
ConfigTranslationFormBase::getBaseFormId in core/modules/config_translation/src/Form/ConfigTranslationFormBase.php
Returns a string identifying the base form.
ConfigureBlockFormBase::getBaseFormId in core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php
Returns a string identifying the base form.
DeleteMultipleForm::getBaseFormId in core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php
Returns a string identifying the base form.
EntityForm::getBaseFormId in core/lib/Drupal/Core/Entity/EntityForm.php
Returns a string identifying the base form.

File

core/lib/Drupal/Core/Form/BaseFormIdInterface.php, line 19

Class

BaseFormIdInterface
Provides an interface for a Form that has a base form ID.

Namespace

Drupal\Core\Form

Code

public function getBaseFormId();