You are here

public function ImageCaptionStorage::__construct in Image Field Caption 8

AbstractService constructor.

Parameters

\Drupal\Core\Cache\CacheBackendInterface $cacheBackend: The Cache Backend.

\Drupal\Core\Database\Connection $database: The Database.

File

src/ImageCaptionStorage.php, line 66
Contains \Drupal\image_field_caption\ImageCaptionStorage.

Class

ImageCaptionStorage
Storage controller class for image captions.

Namespace

Drupal\image_field_caption

Code

public function __construct(CacheBackendInterface $cacheBackend, CacheTagsInvalidator $cacheTagsInvalidator, Connection $database) {
  $this->cacheBackend = $cacheBackend;
  $this->cacheTagsInvalidator = $cacheTagsInvalidator;
  $this->database = $database;
}