Connection::$enabledEvents

Same name in other branches
  1. 10 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::enabledEvents

Tracks the database API events to be dispatched.

For performance reasons, database API events are not yielded by default. Call ::enableEvents() to enable them.

Type: enabledEvents

File

core/lib/Drupal/Core/Database/Connection.php, line 161

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

private array $enabledEvents = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.