public function DurationFormElementTest::getFormId in Duration Field 3.0.x
Same name and namespace in other branches
- 8.2 tests/src/Kernel/DurationFormElementTest.php \Drupal\Tests\duration_field\Kernel\DurationFormElementTest::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
- tests/
src/ Kernel/ DurationFormElementTest.php, line 51
Class
- DurationFormElementTest
- Tests the 'duration' form element.
Namespace
Drupal\Tests\duration_field\KernelCode
public function getFormId() {
return 'duration_form_element_test';
}