Skip to content

Instantly share code, notes, and snippets.

@Cyberschorsch
Created March 28, 2013 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Cyberschorsch/5264081 to your computer and use it in GitHub Desktop.
Save Cyberschorsch/5264081 to your computer and use it in GitHub Desktop.
The option definition
<?php
/**
* Return all possible options for the view and provide default values.
*/
function option_definition() {
$options = parent::option_definition();
$options['flags'] = array('default' => array());
$options['vocabularies'] = array('default' => array());
$options['fallback'] = array('default' => 'all');
$options['multiple_operator'] = array('default' => '+');
return $options;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment