public function OverrideSectionsTest::setUp in Layout Builder Symmetric Translations 8
Overrides LayoutRestTestBase::setUp
File
- tests/
src/ Functional/ Rest/ OverrideSectionsTest.php, line 32
Class
- OverrideSectionsTest
- Tests that override layout sections are not exposed via the REST API.
Namespace
Drupal\Tests\layout_builder_st\Functional\RestCode
public function setUp() {
parent::setUp();
// @todo Figure why field definitions have to cleared in
// https://www.drupal.org/project/drupal/issues/2985882.
$this->container
->get('entity_field.manager')
->clearCachedFieldDefinitions();
}