Same name in other branches
  1. 8.x-1.x src/QuickSet.php \Drupal\quicktabs\QuickSet::getDefaultSettings()

Ensure sensible default settings for each QuickSet object.

1 call to QuickSet::getDefaultSettings()
QuickSet::__construct dans ./quicktabs.classes.inc
Constructor

Fichier

./quicktabs.classes.inc, line 114

Classe

QuickSet
A QuickSet object is an unrendered Quicktabs instance, essentially just a container of content items, as defined by its configuration settings and the array of content items it contains.

Code

private static function getDefaultSettings() {
    return array(
        'title' => '<none>',
        'style' => 'nostyle',
        'hide_empty_tabs' => 0,
        'ajax' => 0,
        'default_tab' => 0,
        'options' => array(),
    );
}