/** * Get allowed options for this element. * * @return array */ public function getAllowedOptions() { return array_merge(parent::getAllowedOptions(), ['elementOptions']); }