You are here

function civicrm_entity_actions_price_field_add_action in CiviCRM Entity 7.2

File

modules/civicrm_entity_actions/civicrm_entity_actions_price_field.inc, line 42

Code

function civicrm_entity_actions_price_field_add_action($entity, $context = array()) {
  $base_url = str_replace('_', '-', $context['entity_type']);

  // civicrm-price_field
  civicrm_entity_drupal_goto($base_url . '/add');
}