You are here

public static function GridStackEntityFormatterBase::defaultSettings in GridStack 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldFormatter/GridStackEntityFormatterBase.php \Drupal\gridstack\Plugin\Field\FieldFormatter\GridStackEntityFormatterBase::defaultSettings()

File

src/Plugin/Field/FieldFormatter/GridStackEntityFormatterBase.php, line 67

Class

GridStackEntityFormatterBase
Base class for gridstack entity reference formatters without field details.

Namespace

Drupal\gridstack\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  $settings = GridStackDefault::baseSettings();
  $settings['view_mode'] = '';
  return $settings;
}