protected function EntityTranslationUITest::getFormSubmitAction

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.

4 calls to EntityTranslationUITest::getFormSubmitAction()
EntityTranslationUITest::assertAuthoringInfo in drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationUITest.php
Tests the translation authoring information.
EntityTranslationUITest::assertBasicTranslation in drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationUITest.php
Tests the basic translation workflow.
EntityTranslationUITest::assertOutdatedStatus in drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationUITest.php
Tests up-to-date status tracking.
EntityTranslationUITest::assertPublishedStatus in drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationUITest.php
Tests the translation publishing status.
1 method overrides EntityTranslationUITest::getFormSubmitAction()

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');
}