function views_object::export_option_always

Always exports the option, regardless of the default value.

File

includes/base.inc, line 312

Class

views_object
Provides the basic object definitions used by plugins and handlers.

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