You are here

public function MerciAllowOvernightConstraint::getRequiredOptions in MERCI (Manage Equipment Reservations, Checkout and Inventory) 8.2

File

src/Plugin/Validation/Constraint/MerciAllowOvernightConstraint.php, line 32
Contains \Drupal\merci\Plugin\Validation\Constraint\MerciAllowOvernightConstraint.

Class

MerciAllowOvernightConstraint
Checks that the node is assigned only a "leaf" term in the forum taxonomy.

Namespace

Drupal\merci\Plugin\Validation\Constraint

Code

public function getRequiredOptions() {
  return array(
    'date_field',
    'overnight_field',
  );
}