Same name in other branches
- 6.0.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setState()
- 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\advaggCode
public function setState(StateInterface $state) {
$this->state = $state;
return $this;
}