function ShortcutTranslationUITest::doTestTranslationChanged
Tests the basic translation workflow.
Overrides ContentTranslationUITestBase::doTestTranslationChanged
File
-
core/
modules/ shortcut/ tests/ src/ Functional/ ShortcutTranslationUITest.php, line 116
Class
- ShortcutTranslationUITest
- Tests the shortcut translation UI.
Namespace
Drupal\Tests\shortcut\FunctionalCode
protected function doTestTranslationChanged() : void {
$storage = $this->container
->get('entity_type.manager')
->getStorage($this->entityTypeId);
$entity = $storage->load($this->entityId);
$this->assertFalse($entity instanceof EntityChangedInterface, "{$this->entityTypeId} is not implementing EntityChangedInterface.");
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.