protected function _getFields() { $fields = parent::_getFields(); $fields['xf_email_template_modification']['search_location'] = array('type' => self::TYPE_STRING, 'required' => true, 'allowedValues' => array('subject', 'body_text', 'body_html')); return $fields; }