You are here

protected function ContentTranslationSettingsTest::entityManager in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php \Drupal\content_translation\Tests\ContentTranslationSettingsTest::entityManager()

Returns the entity manager.

Return value

\Drupal\Core\Entity\EntityManagerInterface The entity manager;

File

core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php, line 299
Contains \Drupal\content_translation\Tests\ContentTranslationSettingsTest.

Class

ContentTranslationSettingsTest
Tests the content translation settings UI.

Namespace

Drupal\content_translation\Tests

Code

protected function entityManager() {
  return $this->container
    ->get('entity.manager');
}