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);
}