You are here

public function AddFormBase::getBaseFormId in Drupal 8

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

2 calls to AddFormBase::getBaseFormId()
FileUploadForm::getFormId in core/modules/media_library/src/Form/FileUploadForm.php
Returns a unique string identifying the form.
OEmbedForm::getFormId in core/modules/media_library/src/Form/OEmbedForm.php
Returns a unique string identifying the form.

File

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

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';
}