public function TestClass::destruct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/service_provider_test/src/TestClass.php \Drupal\service_provider_test\TestClass::destruct()
- 10 core/modules/system/tests/modules/service_provider_test/src/TestClass.php \Drupal\service_provider_test\TestClass::destruct()
Performs destruct operations.
Overrides DestructableInterface::destruct
File
- core/
modules/ system/ tests/ modules/ service_provider_test/ src/ TestClass.php, line 69
Class
Namespace
Drupal\service_provider_testCode
public function destruct() {
$this->state
->set('service_provider_test.destructed', TRUE);
}