public function GridStack::getGridPropertyByDelta in GridStack 8.2
Returns property by its key and delta.
File
- src/
Entity/ GridStack.php, line 231
Class
- GridStack
- Defines the GridStack configuration entity.
Namespace
Drupal\gridstack\EntityCode
public function getGridPropertyByDelta($key, $delta = 0, $type = 'grids', $preserve = FALSE) {
$grids = $this
->getGridsByDelta($delta, $type, $preserve);
return isset($grids[$key]) ? $grids[$key] : FALSE;
}