function ImmutablePropertiesConstraint::getRequiredOptions

Same name in other branches
  1. 10 core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\ImmutablePropertiesConstraint::getRequiredOptions()

File

core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraint.php, line 45

Class

ImmutablePropertiesConstraint
Checks if config entity properties have been changed.

Namespace

Drupal\Core\Entity\Plugin\Validation\Constraint

Code

public function getRequiredOptions() : array {
    return [
        'properties',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.