function apachesolr_nan_entity_info in Apache Solr Not-A-Node 7.2
Implements hook_entity_info().
File
- ./
apachesolr_nan.module, line 10 - Provides hook and common functions for non-node searching.
Code
function apachesolr_nan_entity_info() {
$info = array();
$info['apachesolr_nan'] = array(
'label' => t('Apachesolr NAN'),
'base table' => 'apachesolr_nan',
'entity keys' => array(
'id' => 'id',
'path' => 'path',
),
'entity class' => 'Entity',
'controller class' => 'EntityAPIController',
);
return $info;
}