You are here

public function EntityBrowserForm::getFormId in Entity Browser 8.2

Same name and namespace in other branches
  1. 8 src/Form/EntityBrowserForm.php \Drupal\entity_browser\Form\EntityBrowserForm::getFormId()

Returns a unique string identifying the form.

The returned ID should be a unique string that can be a valid PHP function name, since it's used in hook implementation names such as hook_form_FORM_ID_alter().

Return value

string The unique string identifying the form.

Overrides FormInterface::getFormId

File

src/Form/EntityBrowserForm.php, line 85

Class

EntityBrowserForm
The entity browser form.

Namespace

Drupal\entity_browser\Form

Code

public function getFormId() {
  return 'entity_browser_' . $this->entityBrowser
    ->id() . '_form';
}