Connection::$needsCleanup
Flag to indicate if the cleanup function in __destruct() should run.
Type: bool
Deprecated
in drupal:10.2.0 and is removed from drupal:11.0.0. There's no replacement.
See also
https://www.drupal.org/node/3349345
File
-
core/
modules/ mysql/ src/ Driver/ Database/ mysql/ Connection.php, line 56
Class
- Connection
- MySQL implementation of \Drupal\Core\Database\Connection.
Namespace
Drupal\mysql\Driver\Database\mysqlCode
protected $needsCleanup = FALSE;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.