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

Breadcrumb

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

function ConstraintViolationInterface::getParameters

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

Return value

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

See also

getMessageTemplate()

1 method overrides ConstraintViolationInterface::getParameters()
ConstraintViolation::getParameters in vendor/symfony/validator/ConstraintViolation.php
Returns the parameters to be inserted into the raw violation message.

File

vendor/symfony/validator/ConstraintViolationInterface.php, line 58

Class

ConstraintViolationInterface
A violation of a constraint that happened during validation.

Namespace

Symfony\Component\Validator

Code

public function getParameters() : array;

API Navigation

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