function EntityTypeInfoTest::setUp
Overrides KernelTestBase::setUp
File
-
core/
modules/ content_moderation/ tests/ src/ Kernel/ EntityTypeInfoTest.php, line 61
Class
Namespace
Drupal\Tests\content_moderation\KernelCode
protected function setUp() : void {
parent::setUp();
$this->entityTypeInfo = $this->container
->get('class_resolver')
->getInstanceFromDefinition(EntityTypeInfo::class);
$this->entityTypeManager = $this->container
->get('entity_type.manager');
$this->entityFieldManager = $this->container
->get('entity_field.manager');
$this->installConfig([
'content_moderation',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.