GridStackDefault.php in GridStack 8
File
src/GridStackDefault.php
View source
<?php
namespace Drupal\gridstack;
use Drupal\blazy\Dejavu\BlazyDefault;
class GridStackDefault extends BlazyDefault {
public static function imageSettings() {
$settings = parent::imageSettings();
foreach ([
'breakpoints',
'responsive_image_style',
'sizes',
] as $key) {
unset($settings[$key]);
}
return [
'background' => TRUE,
] + $settings;
}
}
Classes
Name |
Description |
GridStackDefault |
Defines shared plugin default settings for field formatter and Views style. |