DatabaseFileUsageBackend

Defines the database file usage backend. This is the default Drupal backend.

Hierarchy

File

core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php, line 11

Namespace

Drupal\file\FileUsage

Members

Name Modifiers Type Description
DatabaseFileUsageBackend::$connection protected property The database connection used to store file usage information.
DatabaseFileUsageBackend::$tableName protected property The name of the SQL table used to store file usage information.
DatabaseFileUsageBackend::add public function Records that a module is using a file. Overrides FileUsageBase::add
DatabaseFileUsageBackend::delete public function Removes a record to indicate that a module is no longer using a file. Overrides FileUsageBase::delete
DatabaseFileUsageBackend::listUsage public function Determines where a file is used. Overrides FileUsageInterface::listUsage
DatabaseFileUsageBackend::__construct public function Construct the DatabaseFileUsageBackend.
doc_Drupal
2016-10-29 08:59:44
Comments
Leave a Comment

Please login to continue.