You are here

function _commerce_event_entity_variables in Commerce Core 7

Returns an array of newly prefixed Commerce entity event variable names.

1 call to _commerce_event_entity_variables()
_commerce_update_rule_tokens in ./commerce.install
Given a Rule configuration, iterates over its settings to update parameter names to use the new prefixed names and parameter values to use the new prefixed tokens that match the new event variable names.

File

./commerce.install, line 233

Code

function _commerce_event_entity_variables() {
  return array(
    'commerce_order',
    'commerce_order_unchanged',
    'commerce_product',
    'commerce_product_unchanged',
    'commerce_line_item',
    'commerce_line_item_unchanged',
    'commerce_customer_profile',
    'commerce_customer_profile_unchanged',
    'commerce_payment_transaction',
    'commerce_payment_transaction_unchanged',
  );
}