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

Breadcrumb

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

function ConstraintViolationListInterface::add

Adds a constraint violation to this list.

1 method overrides ConstraintViolationListInterface::add()
ConstraintViolationList::add in vendor/symfony/validator/ConstraintViolationList.php
Adds a constraint violation to this list.

File

vendor/symfony/validator/ConstraintViolationListInterface.php, line 29

Class

ConstraintViolationListInterface
A list of constraint violations.

Namespace

Symfony\Component\Validator

Code

public function add(ConstraintViolationInterface $violation) : void;

API Navigation

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