function views_plugin_exposed_form::option_definition

cis7 views_plugin_exposed_form.inc views_plugin_exposed_form::option_definition()
cle7 views_plugin_exposed_form.inc views_plugin_exposed_form::option_definition()
elmsmedia7 views_plugin_exposed_form.inc views_plugin_exposed_form::option_definition()
icor7 views_plugin_exposed_form.inc views_plugin_exposed_form::option_definition()
meedjum_blog7 views_plugin_exposed_form.inc views_plugin_exposed_form::option_definition()
mooc7 views_plugin_exposed_form.inc views_plugin_exposed_form::option_definition()

File

sites/all/modules/ulmus/views/plugins/views_plugin_exposed_form.inc, line 38
Definition of views_plugin_exposed_form.

Class

views_plugin_exposed_form
The base plugin to handle exposed filter forms.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['submit_button'] = array(
    'default' => 'Apply',
    'translatable' => TRUE,
  );
  $options['reset_button'] = array(
    'default' => FALSE,
    'bool' => TRUE,
  );
  $options['reset_button_label'] = array(
    'default' => 'Reset',
    'translatable' => TRUE,
  );
  $options['exposed_sorts_label'] = array(
    'default' => 'Sort by',
    'translatable' => TRUE,
  );
  $options['expose_sort_order'] = array(
    'default' => TRUE,
    'bool' => TRUE,
  );
  $options['sort_asc_label'] = array(
    'default' => 'Asc',
    'translatable' => TRUE,
  );
  $options['sort_desc_label'] = array(
    'default' => 'Desc',
    'translatable' => TRUE,
  );
  $options['autosubmit'] = array(
    'default' => FALSE,
    'bool' => TRUE,
  );
  $options['autosubmit_hide'] = array(
    'default' => TRUE,
    'bool' => TRUE,
  );
  return $options;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.