public function AnalyticsSubscriber::__construct in Googalytics - Google Analytics 8
DefaultCommandSubscriber constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory service.
\Drupal\Core\Utility\Token $token: The Token service.
File
- modules/
ga_tokens/ src/ EventSubscriber/ AnalyticsSubscriber.php, line 51
Class
- AnalyticsSubscriber
- Class DefaultCommandSubscriber.
Namespace
Drupal\ga_tokens\EventSubscriberCode
public function __construct(ConfigFactoryInterface $configFactory, Token $token) {
$this->configFactory = $configFactory;
$this->token = $token;
}