function EntityViewModeValidationTest::testImmutableProperties
Same name in other branches
- 11.x core/tests/Drupal/KernelTests/Core/Entity/EntityViewModeValidationTest.php \Drupal\KernelTests\Core\Entity\EntityViewModeValidationTest::testImmutableProperties()
Overrides ConfigEntityValidationTestBase::testImmutableProperties
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityViewModeValidationTest.php, line 42
Class
- EntityViewModeValidationTest
- Tests validation of entity_view_mode entities.
Namespace
Drupal\KernelTests\Core\EntityCode
public function testImmutableProperties(array $valid_values = []) : void {
$valid_values['id'] = 'user.test_changed';
parent::testImmutableProperties($valid_values);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.