function ImmutablePropertiesConstraint::getDefaultOption

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

@todo Add method return type declaration.

Return value

?string Name of the default option.

See also

https://www.drupal.org/project/drupal/issues/3425150

File

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

Class

ImmutablePropertiesConstraint
Checks if config entity properties have been changed.

Namespace

Drupal\Core\Entity\Plugin\Validation\Constraint

Code

public function getDefaultOption() {
    return 'properties';
}

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