Returns the layout schema for grid-type views (ViewGrid, ViewPickerGrid).
Source
protected function get_grid_layout_schema() {
return array(
'type' => 'object',
'properties' => array(
'badgeFields' => array(
'type' => 'array',
'items' => array(
'type' => 'string',
),
),
'previewSize' => array(
'type' => 'number',
),
'density' => array(
'type' => 'string',
'enum' => array( 'compact', 'balanced', 'comfortable' ),
),
),
);
}
Changelog
| Version | Description |
|---|---|
| 7.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.