function StubForm::getFormId

Same name in other branches
  1. 8.9.x core/modules/system/tests/src/Functional/Form/StubForm.php \Drupal\Tests\system\Functional\Form\StubForm::getFormId()
  2. 10 core/modules/system/tests/src/Functional/Form/StubForm.php \Drupal\Tests\system\Functional\Form\StubForm::getFormId()
  3. 11.x core/modules/system/tests/src/Functional/Form/StubForm.php \Drupal\Tests\system\Functional\Form\StubForm::getFormId()

Overrides FormInterface::getFormId

File

core/modules/system/tests/src/Functional/Form/StubForm.php, line 45

Class

StubForm
Provides a stub form for testing purposes.

Namespace

Drupal\Tests\system\Functional\Form

Code

public function getFormId() {
    return $this->formId;
}

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