function views_object::export_option_always

cis7 base.inc views_object::export_option_always($indent, $prefix, $storage, $option, $definition, $parents)
cle7 base.inc views_object::export_option_always($indent, $prefix, $storage, $option, $definition, $parents)
elmsmedia7 base.inc views_object::export_option_always($indent, $prefix, $storage, $option, $definition, $parents)
icor7 base.inc views_object::export_option_always($indent, $prefix, $storage, $option, $definition, $parents)
meedjum_blog7 base.inc views_object::export_option_always($indent, $prefix, $storage, $option, $definition, $parents)
mooc7 base.inc views_object::export_option_always($indent, $prefix, $storage, $option, $definition, $parents)

Always exports the option, regardless of the default value.

File

sites/all/modules/ulmus/views/includes/base.inc, line 265
Provides the basic object definitions used by plugins and handlers.

Class

views_object
Basic definition for many views objects.

Code

function export_option_always($indent, $prefix, $storage, $option, $definition, $parents) {
  // If there is no default, the option will always be exported.
  unset($definition['default']);
  // Unset our export method to prevent recursion.
  unset($definition['export']);
  return $this->export_option($indent, $prefix, $storage, $option, $definition, $parents);
}
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.