function panels_flexible_panels in Panels 6.3
Same name and namespace in other branches
- 5.2 layouts/flexible.inc \panels_flexible_panels()
- 6.2 layouts/flexible/flexible.inc \panels_flexible_panels()
- 7.3 plugins/layouts/flexible/flexible.inc \panels_flexible_panels()
Define the actual list of columns and rows for this flexible panel.
1 string reference to 'panels_flexible_panels'
- flexible.inc in plugins/
layouts/ flexible/ flexible.inc
File
- plugins/
layouts/ flexible/ flexible.inc, line 254
Code
function panels_flexible_panels($display, $settings, $layout) {
$items = array();
panels_flexible_convert_settings($settings, $layout);
foreach ($settings['items'] as $id => $item) {
if ($item['type'] == 'region') {
$items[$id] = $item['title'];
}
}
return $items;
}