function EntityViewDisplayValidationTest::testImmutableProperties

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

Overrides ConfigEntityValidationTestBase::testImmutableProperties

File

core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php, line 94

Class

EntityViewDisplayValidationTest
Tests validation of entity_view_display entities.

Namespace

Drupal\KernelTests\Core\Entity

Code

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