You are here

public function AddFormBase::getBaseFormId in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/media_library/src/Form/AddFormBase.php \Drupal\media_library\Form\AddFormBase::getBaseFormId()
  2. 9 core/modules/media_library/src/Form/AddFormBase.php \Drupal\media_library\Form\AddFormBase::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.

Overrides BaseFormIdInterface::getBaseFormId

File

core/modules/media_library/src/Form/AddFormBase.php, line 97

Class

AddFormBase
Provides a base class for creating media items from within the media library.

Namespace

Drupal\media_library\Form

Code

public function getBaseFormId() {
  return 'media_library_add_form';
}