Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Connection.php

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 = [];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal