Always exports the option, regardless of the default value.

File

includes/base.inc, line 312
Definition of views_object.

Class

views_object

Code

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