public function ServicePluginInterface::canTrack in Analytics 8
Determines if the current service can track the current request.
Return value
bool TRUE if the service should output on the current page, otherwise FALSE.
1 method overrides ServicePluginInterface::canTrack()
- ServicePluginBase::canTrack in src/
Plugin/ ServicePluginBase.php - Determines if the current service can track the current request.
File
- src/
Plugin/ ServicePluginInterface.php, line 45
Class
- ServicePluginInterface
- Defines an interface for analytics service plugins.
Namespace
Drupal\analytics\PluginCode
public function canTrack();