public function Trigger::__construct in Build Hooks 8
Same name and namespace in other branches
- 8.2 src/Trigger.php \Drupal\build_hooks\Trigger::__construct()
- 3.x src/Trigger.php \Drupal\build_hooks\Trigger::__construct()
Constructs a new Trigger object.
File
- src/
Trigger.php, line 63
Class
- Trigger
- Class Trigger.
Namespace
Drupal\build_hooksCode
public function __construct(ConfigFactoryInterface $configFactory, ClientInterface $httpClient, AccountProxyInterface $currentUser, TranslationManager $stringTranslation, MessengerInterface $messenger, LoggerChannelFactoryInterface $logger) {
$this->configFactory = $configFactory;
$this->httpClient = $httpClient;
$this->currentUser = $currentUser;
$this->stringTranslation = $stringTranslation;
$this->messenger = $messenger;
$this->logger = $logger;
}