function EntityFormDisplayValidationTest::testImmutableProperties

Same name in other branches
  1. 10 core/tests/Drupal/KernelTests/Core/Entity/EntityFormDisplayValidationTest.php \Drupal\KernelTests\Core\Entity\EntityFormDisplayValidationTest::testImmutableProperties()

Overrides ConfigEntityValidationTestBase::testImmutableProperties

File

core/tests/Drupal/KernelTests/Core/Entity/EntityFormDisplayValidationTest.php, line 114

Class

EntityFormDisplayValidationTest
Tests validation of entity_form_display entities.

Namespace

Drupal\KernelTests\Core\Entity

Code

public function testImmutableProperties(array $valid_values = []) : void {
    parent::testImmutableProperties([
        'id' => 'entity_test_with_bundle.two.default',
        '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.