You are here

function mediafront_views_default_options in MediaFront 7.2

Returns the default views options.

Return value

<type>

1 call to mediafront_views_default_options()
mediafront_views_get_options in ./mediafront.module
Returns the options to be used within views.
1 string reference to 'mediafront_views_default_options'
mediafront_features_api in ./mediafront.module
Implementation of hook_features_api()

File

./mediafront.module, line 145

Code

function mediafront_views_default_options() {
  $default_options =& drupal_static(__FUNCTION__);
  if ($default_options) {
    return $default_options;
  }
  else {
    $default_options = module_invoke_all('mediafront_views_default_options');
    drupal_alter('mediafront_views_default_options', $default_options);
    return $default_options;
  }
}