protected function ContentTranslationUITestBase::getFormSubmitSuffix in Drupal 10
Same name and namespace in other branches
- 8 core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationUITestBase::getFormSubmitSuffix()
- 9 core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationUITestBase::getFormSubmitSuffix()
Returns appropriate submit button suffix based on translatability.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity being tested.
string $langcode: Language code for the form.
Return value
string Submit button suffix based on translatability.
File
- core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationUITestBase.php, line 461
Class
- ContentTranslationUITestBase
- Tests the Content Translation UI.
Namespace
Drupal\Tests\content_translation\FunctionalCode
protected function getFormSubmitSuffix(EntityInterface $entity, $langcode) {
return '';
}