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