function Connection::driverTransactionManager
Returns a new instance of the driver's transaction manager.
Database drivers must implement their own class extending from \Drupal\Core\Database\Transaction\TransactionManagerBase, and instantiate it here.
Return value
\Drupal\Core\Database\Transaction\TransactionManagerInterface The transaction manager.
Overrides Connection::driverTransactionManager
File
-
core/
modules/ sqlite/ src/ Driver/ Database/ sqlite/ Connection.php, line 595
Class
- Connection
- SQLite implementation of \Drupal\Core\Database\Connection.
Namespace
Drupal\sqlite\Driver\Database\sqliteCode
protected function driverTransactionManager() : TransactionManagerInterface {
return new TransactionManager($this);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.