public static function GridStackEntityFormatterBase::defaultSettings in GridStack 8.2
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/GridStackEntityFormatterBase.php \Drupal\gridstack\Plugin\Field\FieldFormatter\GridStackEntityFormatterBase::defaultSettings()
File
- src/
Plugin/ Field/ FieldFormatter/ GridStackEntityFormatterBase.php, line 31
Class
- GridStackEntityFormatterBase
- Base class for gridstack entity reference formatters without field details.
Namespace
Drupal\gridstack\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
$settings = GridStackDefault::baseSettings();
$settings['view_mode'] = '';
return $settings;
}