public function TestClass::destruct

Implements \Drupal\Core\DestructableInterface::destruct().

Overrides DestructableInterface::destruct

File

drupal/core/modules/system/tests/modules/bundle_test/lib/Drupal/bundle_test/TestClass.php, line 56
Definition of Drupal\bundle_test\TestClass.

Class

TestClass

Namespace

Drupal\bundle_test

Code

public function destruct() {
  $this->state
    ->set('bundle_test.destructed', TRUE);
}