function colorized_gmap_entity_info in Colorized google maps block 7
Implements hook_entity_info().
File
- ./
colorized_gmap.module, line 277 - Colorized gmap module.
Code
function colorized_gmap_entity_info() {
return array(
'colorized_gmap' => array(
'label' => t('Colorized gmap'),
'entity class' => 'Entity',
'controller class' => 'ColorizedGmapEntityController',
'fieldable' => FALSE,
'exportable' => TRUE,
'base table' => 'colorized_gmap_units',
'label callback' => 'colorized_gmap_entity_info_label',
'entity keys' => array(
'id' => 'id',
'name' => 'name',
),
'metadata controller class' => 'ColorizedGmapEntityMetadataController',
'access arguments' => array(
'administer blocks',
),
'module' => 'colorized_gmap',
),
);
}