You are here

public function FeedsRulesActionMetadataController::entityPropertyInfo in Feeds Rules 7

Overrides EntityDefaultMetadataController::entityPropertyInfo

File

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

Class

FeedsRulesActionMetadataController
Extend the defaults.

Code

public function entityPropertyInfo() {
  $info = parent::entityPropertyInfo();
  $properties =& $info[$this->type]['properties'];
  $properties['component'] = array(
    'label' => t('Component'),
    'description' => t('The rules component (action / rule set)'),
    'getter callback' => 'entity_property_getter_method',
    'schema field' => 'component',
  );
  $properties['params'] = array(
    'label' => t('Parameters'),
    'description' => t('Array of action parameters.'),
    'getter callback' => 'entity_property_getter_method',
    'schema field' => 'params',
  );
  $properties['provided'] = array(
    'label' => t('Provided'),
    'description' => t('Array of provided action parameters.'),
    'getter callback' => 'entity_property_getter_method',
    'schema field' => 'provided',
  );
  $properties['executed'] = array(
    'label' => t('Executed'),
    'description' => t('Timestamp of moment, rule component was executed.'),
    'getter callback' => 'entity_property_getter_method',
    'schema field' => 'executed',
  );
  return $info;
}