function google_analytics_reports_is_custom in Google Analytics Reports 7.3
Same name and namespace in other branches
- 8.3 google_analytics_reports.module \google_analytics_reports_is_custom()
Determines if a field is custom or not.
4 calls to google_analytics_reports_is_custom()
- google_analytics_reports_handler_argument::init in handlers/
google_analytics_reports_handler_argument.inc - Init the handler with necessary data.
- google_analytics_reports_handler_field::init in handlers/
google_analytics_reports_handler_field.inc - Init the handler with necessary data.
- google_analytics_reports_handler_filter::init in handlers/
google_analytics_reports_handler_filter.inc - Provide some extra help to get the operator/value easier to use.
- google_analytics_reports_views_data in ./
google_analytics_reports.views.inc - Implements hook_views_data().
File
- ./
google_analytics_reports.module, line 270 - Front-end interfaces that use the Google Analytics Reports API module.
Code
function google_analytics_reports_is_custom($field) {
return preg_match('/XX/', $field) ? TRUE : FALSE;
}