Same name in other branches
  1. 6.0.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setState()
  2. 8.x-4.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setState()

Set state service.

Paramètres

\Drupal\Core\State\StateInterface $state: The state service.

Return value

$this

Fichier

src/AdvaggSettersTrait.php, line 254

Classe

AdvaggSettersTrait
The trait setters of ADVAGG module.

Namespace

Drupal\advagg

Code

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