Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ImmutablePropertiesConstraint.php

ImmutablePropertiesConstraint::$message

The error message if an immutable property has been changed.

Type: string

File

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

Class

ImmutablePropertiesConstraint
Checks if config entity properties have been changed.

Namespace

Drupal\Core\Entity\Plugin\Validation\Constraint

Code

public string $message = "The '@name' property cannot be changed.";

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal