function TextTestHooks::__construct

Same name and namespace in other branches
  1. 11.x core/modules/text/tests/modules/text_test/src/Hook/TextTestHooks.php \Drupal\text_test\Hook\TextTestHooks::__construct()

File

core/modules/text/tests/modules/text_test/src/Hook/TextTestHooks.php, line 16

Class

TextTestHooks
Hook implementations for text_test.

Namespace

Drupal\text_test\Hook

Code

public function __construct(protected readonly StateInterface $state) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.