You are here

public function BynderConfigHashGenerator::__construct in Bynder 8

Same name and namespace in other branches
  1. 8.3 src/EventSubscriber/BynderConfigHashGenerator.php \Drupal\bynder\EventSubscriber\BynderConfigHashGenerator::__construct()
  2. 8.2 src/EventSubscriber/BynderConfigHashGenerator.php \Drupal\bynder\EventSubscriber\BynderConfigHashGenerator::__construct()
  3. 4.0.x 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\EventSubscriber

Code

public function __construct(StateInterface $state) {
  $this->state = $state;
}