function 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 99  
Class
- AddFormBase
 - Provides a base class for creating media items from within the media library.
 
Namespace
Drupal\media_library\FormCode
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.