public static function BlazyDefault::gridSettings in Blazy 7
Same name and namespace in other branches
- 8.2 src/BlazyDefault.php \Drupal\blazy\BlazyDefault::gridSettings()
- 8 src/BlazyDefault.php \Drupal\blazy\BlazyDefault::gridSettings()
Returns optional grid field formatter and Views settings.
3 calls to BlazyDefault::gridSettings()
- BlazyDefault::baseSettings in src/
BlazyDefault.php - Returns basic plugin settings: text, image, file, entities with grids.
- BlazyGrid::build in src/
BlazyGrid.php - Returns items wrapped by theme_item_list(), can be a grid, or plain list.
- BlazyViews::option_definition in src/
Plugin/ views/ style/ BlazyViews.php - Information about options for all kinds of purposes will be held here.
File
- src/
BlazyDefault.php, line 63
Class
- BlazyDefault
- Defines shared plugin default settings for field formatter and Views style.
Namespace
Drupal\blazyCode
public static function gridSettings() {
return [
'grid' => 0,
'grid_medium' => 0,
'grid_small' => 0,
] + self::anywhereSettings();
}