protected function ContentTranslationUITestBase::getFormSubmitAction in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php \Drupal\content_translation\Tests\ContentTranslationUITestBase::getFormSubmitAction()
Returns the form action value to be used to submit the entity form.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity being tested.
string $langcode: Language code for the form.
Return value
string Name of the button to hit.
8 calls to ContentTranslationUITestBase::getFormSubmitAction()
- CommentTranslationUITest::doTestAuthoringInfo in core/
modules/ comment/ src/ Tests/ CommentTranslationUITest.php - Tests the translation authoring information.
- CommentTranslationUITest::doTestPublishedStatus in core/
modules/ comment/ src/ Tests/ CommentTranslationUITest.php - Tests the translation publishing status.
- ContentTranslationUITestBase::doTestAuthoringInfo in core/
modules/ content_translation/ src/ Tests/ ContentTranslationUITestBase.php - Tests the translation authoring information.
- ContentTranslationUITestBase::doTestChangedTimeAfterSaveWithoutChanges in core/
modules/ content_translation/ src/ Tests/ ContentTranslationUITestBase.php - Test the changed time after API and FORM save without changes.
- ContentTranslationUITestBase::doTestOutdatedStatus in core/
modules/ content_translation/ src/ Tests/ ContentTranslationUITestBase.php - Tests up-to-date status tracking.
1 method overrides ContentTranslationUITestBase::getFormSubmitAction()
- NodeTranslationUITest::getFormSubmitAction in core/
modules/ node/ src/ Tests/ NodeTranslationUITest.php - Returns the form action value to be used to submit the entity form.
File
- core/
modules/ content_translation/ src/ Tests/ ContentTranslationUITestBase.php, line 404 - Contains \Drupal\content_translation\Tests\ContentTranslationUITestBase.
Class
- ContentTranslationUITestBase
- Tests the Content Translation UI.
Namespace
Drupal\content_translation\TestsCode
protected function getFormSubmitAction(EntityInterface $entity, $langcode) {
return t('Save') . $this
->getFormSubmitSuffix($entity, $langcode);
}