public function GoogleApiClientService::__construct in Google API PHP Client 8.3
Same name and namespace in other branches
- 8.4 src/Service/GoogleApiClientService.php \Drupal\google_api_client\Service\GoogleApiClientService::__construct()
- 8.2 src/Service/GoogleApiClientService.php \Drupal\google_api_client\Service\GoogleApiClientService::__construct()
Callback Controller constructor.
Parameters
\Drupal\Core\Logger\LoggerChannelFactoryInterface $loggerFactory: LoggerChannelFactoryInterface.
\Drupal\Core\Cache\CacheBackendInterface $cacheBackend: Cache Backend.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
File
- src/
Service/ GoogleApiClientService.php, line 90
Class
- GoogleApiClientService
- Class Google API Client Service.
Namespace
Drupal\google_api_client\ServiceCode
public function __construct(LoggerChannelFactoryInterface $loggerFactory, CacheBackendInterface $cacheBackend, MessengerInterface $messenger, TranslationInterface $string_translation, ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler) {
$this->loggerFactory = $loggerFactory;
$this->cacheBackend = $cacheBackend;
$this->messenger = $messenger;
$this->stringTranslation = $string_translation;
$this->configFactory = $config_factory;
$this->moduleHandler = $module_handler;
}