function FileUsageBase::__construct

Creates a FileUsageBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

1 call to FileUsageBase::__construct()
DatabaseFileUsageBackend::__construct in core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php
Construct the DatabaseFileUsageBackend.
1 method overrides FileUsageBase::__construct()
DatabaseFileUsageBackend::__construct in core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php
Construct the DatabaseFileUsageBackend.

File

core/modules/file/src/FileUsage/FileUsageBase.php, line 26

Class

FileUsageBase
Defines the base class for database file usage backend.

Namespace

Drupal\file\FileUsage

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this->configFactory = $config_factory;
}

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