function gathercontent_entity_info in GatherContent 7.3
Implements hook_entity_info().
File
- ./
gathercontent.module, line 148
Code
function gathercontent_entity_info() {
$info = array();
$info['gathercontent_mapping'] = array(
'label' => t('Mapping'),
'base table' => 'gathercontent_mapping',
'entity keys' => array(
'id' => 'id',
'label' => 'content_type',
),
'module' => 'gathercontent',
'entity class' => 'Entity',
'controller class' => 'EntityAPIController',
'views controller class' => 'EntityDefaultViewsController',
'fieldable' => FALSE,
);
$info['gathercontent_operation'] = array(
'label' => t('gathercontent Operation'),
'base table' => 'gathercontent_operation',
'entity keys' => array(
'id' => 'uuid',
'label' => 'uuid',
),
'module' => 'gathercontent',
'entity class' => 'Entity',
'controller class' => 'EntityAPIController',
'views controller class' => 'EntityDefaultViewsController',
'fieldable' => FALSE,
);
$info['gathercontent_operation_item'] = array(
'label' => t('GC Operation Item'),
'base table' => 'gathercontent_operation_item',
'entity keys' => array(
'id' => 'id',
),
'module' => 'gathercontent',
'entity class' => 'GatherContentOperationItem',
'controller class' => 'EntityAPIController',
'views controller class' => 'EntityDefaultViewsController',
'fieldable' => FALSE,
);
return $info;
}