function openlayers_content_types_openlayers_content_type_render in Openlayers 7.3
Output function for the 'openlayers' content type.
File
- modules/
openlayers_content_types/ plugins/ content_types/ openlayers.inc, line 21
Code
function openlayers_content_types_openlayers_content_type_render($subtype, $conf, $panel_args, $contexts) {
return (object) array(
'title' => NULL,
'content' => array(
'#type' => 'openlayers',
'#map' => $conf['map'],
),
);
}