You are here

function feeds_rules_entity_info in Feeds Rules 7

Implements hook_entity_info().

Provides a pseudo log entity type, so handling for feeds is easier.

File

./feeds_rules.module, line 27
Feeds rules module provides different rules implementations for feeds:

Code

function feeds_rules_entity_info() {
  $return = array(
    'feeds_rules_action' => array(
      'label' => t('Feeds Rules import action'),
      'controller class' => 'EntityAPIController',
      'metadata controller class' => 'FeedsRulesActionMetadataController',
      'base table' => 'feeds_rules_action',
      'fieldable' => FALSE,
      'entity keys' => array(
        'id' => 'id',
      ),
      //'bundle keys' => array(

      //  'bundle' => 'component',

      //),
      'bundles' => array(),
      'view modes' => array(),
    ),
  );
  return $return;
}