You are here

public function IntegrityViolationList::add in Rules 8.3

File

src/Engine/IntegrityViolationList.php, line 16

Class

IntegrityViolationList
Collection of integrity violations.

Namespace

Drupal\rules\Engine

Code

public function add(IntegrityViolation $violation) {
  $this[] = $violation;
}