Set default options.
Fichier
-
./
views_slideshow_plugin_style_slideshow.inc, line 11
Classe
- views_slideshow_plugin_style_slideshow
- Style plugin to render each item in a slideshow.
Code
public function option_definition() {
$options = parent::option_definition();
// Load all include files from views slideshow addons.
module_load_all_includes('views_slideshow.inc');
// Call every module using hook_views_slideshow_option_definition and merge
// it's return value with the other default options.
return array_merge($options, module_invoke_all('views_slideshow_option_definition'));
}