ReservationConflictConstraint.php in MERCI (Manage Equipment Reservations, Checkout and Inventory) 8.2
File
src/Plugin/Validation/Constraint/ReservationConflictConstraint.phpView source
<?php
/**
* @file
* Contains \Drupal\merci\Plugin\Validation\Constraint\ReservationConflictConstraint.
*/
namespace Drupal\merci\Plugin\Validation\Constraint;
use Symfony\Component\Validator\Constraint;
/**
* Checks that the node is assigned only a "leaf" term in the forum taxonomy.
*
* @Constraint(
* id = "ReservationConflict",
* label = @Translation("ReservationConflict", context = "Validation"),
* )
*/
class ReservationConflictConstraint extends Constraint {
public $date_field;
public $quantity_field;
public $parent_quantity_field;
}
Classes
Name | Description |
---|---|
ReservationConflictConstraint | Checks that the node is assigned only a "leaf" term in the forum taxonomy. |