You are here

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

File

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

Class

MerciOpenHoursConstraint
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',
    'reservable_hours_field',
    'office_hours_field',
  );
}