public function BynderConfigHashGenerator::__construct in Bynder 4.0.x
Same name and namespace in other branches
- 8.3 src/EventSubscriber/BynderConfigHashGenerator.php \Drupal\bynder\EventSubscriber\BynderConfigHashGenerator::__construct()
- 8 src/EventSubscriber/BynderConfigHashGenerator.php \Drupal\bynder\EventSubscriber\BynderConfigHashGenerator::__construct()
- 8.2 src/EventSubscriber/BynderConfigHashGenerator.php \Drupal\bynder\EventSubscriber\BynderConfigHashGenerator::__construct()
Constructs a BynderConfigHashGenerator object.
Parameters
\Drupal\Core\State\StateInterface $state: The state service.
File
- src/
EventSubscriber/ BynderConfigHashGenerator.php, line 30
Class
- BynderConfigHashGenerator
- A subscriber that generates Bynder config hash.
Namespace
Drupal\bynder\EventSubscriberCode
public function __construct(StateInterface $state) {
$this->state = $state;
}