public function ConstraintViolation::getMessageParameters

Returns the parameters to be inserted into the raw violation message.

@api

Return value

array A possibly empty list of parameters indexed by the names that appear in the message template.

Overrides ConstraintViolationInterface::getMessageParameters

See also

getMessageTemplate

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/ConstraintViolation.php, line 124

Class

ConstraintViolation
Default implementation of {@ConstraintViolationInterface}.

Namespace

Symfony\Component\Validator

Code

public function getMessageParameters() {
  return $this->messageParameters;
}