protected function EntityTranslationUITest::setupBundle

Creates or initializes the bundle date if needed.

4 calls to EntityTranslationUITest::setupBundle()
3 methods override EntityTranslationUITest::setupBundle()

File

drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationUITest.php, line 85
Definition of Drupal\entity\Tests\EntityTranslationUITest.

Class

EntityTranslationUITest
Tests the Entity Translation UI.

Namespace

Drupal\translation_entity\Tests

Code

protected function setupBundle() {
  if (empty($this->bundle)) {
    $this->bundle = $this->entityType;
  }
}