You are here

function google_analytics_reports_variable_to_custom_field in Google Analytics Reports 7.3

Same name and namespace in other branches
  1. 8.3 google_analytics_reports.module \google_analytics_reports_variable_to_custom_field()

Converts a specific field name into a base custom field name.

1 call to google_analytics_reports_variable_to_custom_field()
google_analytics_reports_plugin_query_google_analytics::query in plugins/google_analytics_reports_plugin_query_google_analytics.inc
Generate a query and a countquery from all of the information supplied to the object.

File

./google_analytics_reports.module, line 284
Front-end interfaces that use the Google Analytics Reports API module.

Code

function google_analytics_reports_variable_to_custom_field($field) {
  return preg_replace('/\\d+/', 'XX', $field);
}