You are here

public static function Tabs::defaultContextSettings in Field Group 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/field_group/FieldGroupFormatter/Tabs.php \Drupal\field_group\Plugin\field_group\FieldGroupFormatter\Tabs::defaultContextSettings()

Defines the default settings for this plugin.

Parameters

string $context: The context to get the default settings for.

Return value

array A list of default settings, keyed by the setting name.

Overrides FieldGroupFormatterBase::defaultContextSettings

File

src/Plugin/field_group/FieldGroupFormatter/Tabs.php, line 122

Class

Tabs
Plugin implementation of the 'horizontal_tabs' formatter.

Namespace

Drupal\field_group\Plugin\field_group\FieldGroupFormatter

Code

public static function defaultContextSettings($context) {
  return array(
    'direction' => 'vertical',
  ) + parent::defaultContextSettings($context);
}