function LayoutBuilderEntityViewDisplayValidationTest::testImmutableProperties
Same name in other branches
- 10 core/modules/layout_builder/tests/src/Kernel/LayoutBuilderEntityViewDisplayValidationTest.php \Drupal\Tests\layout_builder\Kernel\LayoutBuilderEntityViewDisplayValidationTest::testImmutableProperties()
Overrides ConfigEntityValidationTestBase::testImmutableProperties
File
-
core/
modules/ layout_builder/ tests/ src/ Kernel/ LayoutBuilderEntityViewDisplayValidationTest.php, line 73
Class
- LayoutBuilderEntityViewDisplayValidationTest
- Tests validation of Layout Builder's entity_view_display entities.
Namespace
Drupal\Tests\layout_builder\KernelCode
public function testImmutableProperties(array $valid_values = []) : void {
parent::testImmutableProperties([
'id' => 'entity_test_with_bundle.two.full',
'targetEntityType' => 'entity_test_with_bundle',
'bundle' => 'two',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.