You are here

public static function PatternFormatter::defaultContextSettings in UI Patterns 8

File

modules/ui_patterns_field_group/src/Plugin/field_group/FieldGroupFormatter/PatternFormatter.php, line 178

Class

PatternFormatter
Plugin implementation of the 'paragraph' formatter.

Namespace

Drupal\ui_patterns_field_group\Plugin\field_group\FieldGroupFormatter

Code

public static function defaultContextSettings($context) {
  return [
    'pattern' => '',
    'pattern_mapping' => [],
    'pattern_variant' => '',
  ] + parent::defaultContextSettings($context);
}