function google_analytics_reports_is_custom in Google Analytics Reports 8.3
Same name and namespace in other branches
- 7.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()
- GoogleAnalyticsArgument::init in src/
Plugin/ views/ argument/ GoogleAnalyticsArgument.php - Overrides Drupal\views\Plugin\views\HandlerBase:init().
- GoogleAnalyticsBase::init in src/
Plugin/ views/ filter/ GoogleAnalyticsBase.php - Overrides \Drupal\views\Plugin\views\HandlerBase::init().
- GoogleAnalyticsStandard::init in src/
Plugin/ views/ field/ GoogleAnalyticsStandard.php - Initialize the plugin.
- google_analytics_reports_views_data in ./
google_analytics_reports.views.inc - Implements hook_views_data().
File
- ./
google_analytics_reports.module, line 78 - 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;
}