Connection::$needsCleanup
Same name and namespace in other branches
- 9 core/modules/mysql/src/Driver/Database/mysql/Connection.php \Drupal\mysql\Driver\Database\mysql\Connection::needsCleanup
- 8.9.x core/lib/Drupal/Core/Database/Driver/mysql/Connection.php \Drupal\Core\Database\Driver\mysql\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 <a href="/api/drupal/core%21lib%21Drupal%21Core%21Database%21Connection.php/class/Connection/10" title="Base Database API class." class="local">\Drupal\Core\Database\Connection</a>.
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.