function rules_entity_info
Implements hook_entity_info().
File
-
./
rules.module, line 858
Code
function rules_entity_info() {
return array(
'rules_config' => array(
'label' => t('Rules configuration'),
'controller class' => 'RulesEntityController',
'base table' => 'rules_config',
'fieldable' => TRUE,
'entity keys' => array(
'id' => 'id',
'name' => 'name',
'label' => 'label',
),
'module' => 'rules',
'static cache' => TRUE,
'bundles' => array(),
'configuration' => TRUE,
'exportable' => TRUE,
'export' => array(
'default hook' => 'default_rules_configuration',
),
'access callback' => 'rules_config_access',
'features controller class' => 'RulesFeaturesController',
),
);
}