/** * Provide default input rules for this element * * Attaches the InArray validator. * * @return array */ public function getInputSpecification() { $spec = parent::getInputSpecification(); $spec['validators'][] = $this->getValidator(); return $spec; }