protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['expose']['contains']['required'] = array('default' => FALSE, 'bool' => TRUE);
     $options['expose']['contains'] += array('autocomplete_filter' => array('default' => 0), 'autocomplete_min_chars' => array('default' => 0), 'autocomplete_items' => array('default' => 10), 'autocomplete_field' => array('default' => ''), 'autocomplete_raw_suggestion' => array('default' => TRUE), 'autocomplete_raw_dropdown' => array('default' => TRUE), 'autocomplete_dependent' => array('default' => FALSE));
     return $options;
 }
Пример #2
0
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['fields'] = array('default' => array());
     return $options;
 }
Пример #3
0
 /**
  * {@inheritdoc}
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['expose']['contains']['hide_no_continuous'] = ['default' => TRUE];
     return $options;
 }