You are here

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

File

src/Plugin/Validation/Constraint/MerciMaxLengthConstraint.php, line 31
Contains \Drupal\merci\Plugin\Validation\Constraint\MerciMaxLengthConstraint.

Class

MerciMaxLengthConstraint
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',
    'interval_field',
  );
}