protected function RabbitHoleBehaviorSettingsFormTestBase::getEntityFormSubmit in Rabbit Hole 8
Same name and namespace in other branches
- 2.x tests/src/Functional/RabbitHoleBehaviorSettingsFormTestBase.php \Drupal\Tests\rabbit_hole\Functional\RabbitHoleBehaviorSettingsFormTestBase::getEntityFormSubmit()
Returns form submit name/identifier for entity create/edit form.
Return value
string Value of the submit button whose click is to be emulated.
1 call to RabbitHoleBehaviorSettingsFormTestBase::getEntityFormSubmit()
- RabbitHoleBehaviorSettingsFormTestBase::testEntityFormSaveRedirect in tests/
src/ Functional/ RabbitHoleBehaviorSettingsFormTestBase.php - Test redirect after entity form save.
1 method overrides RabbitHoleBehaviorSettingsFormTestBase::getEntityFormSubmit()
- ProductBehaviorSettingsFormTest::getEntityFormSubmit in modules/
rh_commerce/ tests/ src/ Functional/ ProductBehaviorSettingsFormTest.php - Returns form submit name/identifier for entity create/edit form.
File
- tests/
src/ Functional/ RabbitHoleBehaviorSettingsFormTestBase.php, line 376
Class
- RabbitHoleBehaviorSettingsFormTestBase
- Base class for the Rabbit Hole form additions tests.
Namespace
Drupal\Tests\rabbit_hole\FunctionalCode
protected function getEntityFormSubmit() {
return 'edit-submit';
}