function openlayers_plus_block_view in OpenLayers Plus 7
Same name and namespace in other branches
- 7.3 openlayers_plus.module \openlayers_plus_block_view()
- 7.2 openlayers_plus.module \openlayers_plus_block_view()
Implements hook_block_view().
File
- ./
openlayers_plus.module, line 17
Code
function openlayers_plus_block_view($delta) {
switch ($delta) {
case 'blockswitcher':
return array(
'subject' => t('Map layers'),
'content' => array(
'#theme' => 'openlayers_plus_blockswitcher',
),
);
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',
),
);
}
}