Returns the form action value to be used to submit the entity form.
Parameters
\Drupal\Core\Entity\EntityInterface $entity:
The entity being tested.
Return value
string
Name of the button to hit.
File
- drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationUITest.php, line 246
- Definition of Drupal\entity\Tests\EntityTranslationUITest.
Class
- EntityTranslationUITest
- Tests the Entity Translation UI.
Namespace
Drupal\translation_entity\Tests
Code
protected function getFormSubmitAction(EntityInterface $entity) {
return t('Save');
}