function AddFormBase::getBaseFormId

Same name and namespace in other branches
  1. 9 core/modules/media_library/src/Form/AddFormBase.php \Drupal\media_library\Form\AddFormBase::getBaseFormId()
  2. 8.9.x core/modules/media_library/src/Form/AddFormBase.php \Drupal\media_library\Form\AddFormBase::getBaseFormId()
  3. 10 core/modules/media_library/src/Form/AddFormBase.php \Drupal\media_library\Form\AddFormBase::getBaseFormId()

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 98

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.