function TestClass::destruct
Same name in other branches
- 9 core/modules/system/tests/modules/service_provider_test/src/TestClass.php \Drupal\service_provider_test\TestClass::destruct()
- 8.9.x core/modules/system/tests/modules/service_provider_test/src/TestClass.php \Drupal\service_provider_test\TestClass::destruct()
- 11.x core/modules/system/tests/modules/service_provider_test/src/TestClass.php \Drupal\service_provider_test\TestClass::destruct()
Overrides DestructableInterface::destruct
File
-
core/
modules/ system/ tests/ modules/ service_provider_test/ src/ TestClass.php, line 66
Class
Namespace
Drupal\service_provider_testCode
public function destruct() {
$this->state
->set('service_provider_test.destructed', TRUE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.