function openlayers_plus_block_view in OpenLayers Plus 7.2
Same name and namespace in other branches
- 7.3 openlayers_plus.module \openlayers_plus_block_view()
- 7 openlayers_plus.module \openlayers_plus_block_view()
Implements hook_block_view().
File
- ./
openlayers_plus.module, line 22 - Openlayers_plus module file.
Code
function openlayers_plus_block_view($delta) {
switch ($delta) {
case 'blockswitcher':
// TODO Please change this theme call to use an associative array
// for the $variables parameter.
return array(
'subject' => t('Map layers'),
'content' => array(
'#theme' => 'openlayers_plus_blockswitcher',
'#title' => t('Map layers'),
),
);
case 'blocktoggle':
// TODO Please change this theme call to use an associative array
// for the $variables parameter.
return array(
'subject' => t('Map layers'),
'content' => array(
'#theme' => 'openlayers_plus_blocktoggle',
'#title' => t('Map layers'),
),
);
}
}