class FeedsRulesActionMetadataController in Feeds Rules 7
Extend the defaults.
Hierarchy
Expanded class hierarchy of FeedsRulesActionMetadataController
1 string reference to 'FeedsRulesActionMetadataController'
- feeds_rules_entity_info in ./
feeds_rules.module - Implements hook_entity_info().
File
- ./
feeds_rules.module, line 52 - Feeds rules module provides different rules implementations for feeds:
View source
class FeedsRulesActionMetadataController extends EntityDefaultMetadataController {
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;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityDefaultMetadataController:: |
protected | property | ||
EntityDefaultMetadataController:: |
public static | function | A options list callback returning all bundles for an entity type. | |
EntityDefaultMetadataController:: |
protected | function | Return a set of properties for an entity based on the schema definition | |
EntityDefaultMetadataController:: |
public | function | ||
FeedsRulesActionMetadataController:: |
public | function |
Overrides EntityDefaultMetadataController:: |