You are here

public property ReferenceAccessConstraint::$message in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ReferenceAccessConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\ReferenceAccessConstraint::message

The default violation message.

Type: string

File

core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ReferenceAccessConstraint.php, line 29
Contains \Drupal\Core\Entity\Plugin\Validation\Constraint\ReferenceAccessConstraint.

Class

ReferenceAccessConstraint
Entity Reference valid reference constraint.

Namespace

Drupal\Core\Entity\Plugin\Validation\Constraint

Code

public $message = 'You do not have access to the referenced entity (%type: %id).';