public static function BlazyDefault::entitySettings in Blazy 7
Same name and namespace in other branches
- 8.2 src/BlazyDefault.php \Drupal\blazy\BlazyDefault::entitySettings()
- 8 src/BlazyDefault.php \Drupal\blazy\BlazyDefault::entitySettings()
Returns sensible default options common for entities lacking of UI.
1 call to BlazyDefault::entitySettings()
- BlazyViewsFieldPluginBase::mergedViewsSettings in src/
Plugin/ views/ field/ BlazyViewsFieldPluginBase.php - Merges the settings.
File
- src/
BlazyDefault.php, line 149
Class
- BlazyDefault
- Defines shared plugin default settings for field formatter and Views style.
Namespace
Drupal\blazyCode
public static function entitySettings() {
return [
'media_switch' => 'media',
'rendered' => FALSE,
'view_mode' => 'default',
'_detached' => TRUE,
] + self::lazySettings();
}