public static function FieldGroupTable::defaultContextSettings in Field Group Table 8
File
- src/
Plugin/ field_group/ FieldGroupFormatter/ FieldGroupTable.php, line 140
Class
- FieldGroupTable
- Plugin implementation of the 'field_group_table' formatter.
Namespace
Drupal\field_group_table\Plugin\field_group\FieldGroupFormatterCode
public static function defaultContextSettings($context) {
$defaults = [
'label_visibility' => self::DISPLAY_ABOVE,
'desc' => '',
'desc_visibility' => self::DISPLAY_ABOVE,
'first_column' => '',
'second_column' => '',
'empty_label_behavior' => self::EMPTY_LABEL_KEEP,
'table_row_striping' => FALSE,
'always_show_field_label' => FALSE,
'always_show_field_value' => FALSE,
'empty_field_placeholder' => '',
'hide_table_if_empty' => FALSE,
] + parent::defaultSettings($context);
return $defaults;
}