DatabaseFileUsageBackend::$connection
Same name in other branches
- 9 core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php \Drupal\file\FileUsage\DatabaseFileUsageBackend::connection
- 10 core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php \Drupal\file\FileUsage\DatabaseFileUsageBackend::connection
- 11.x core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php \Drupal\file\FileUsage\DatabaseFileUsageBackend::connection
The database connection used to store file usage information.
Type: \Drupal\Core\Database\Connection
File
-
core/
modules/ file/ src/ FileUsage/ DatabaseFileUsageBackend.php, line 19
Class
- DatabaseFileUsageBackend
- Defines the database file usage backend. This is the default Drupal backend.
Namespace
Drupal\file\FileUsageCode
protected $connection;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.