ImageStyleDownloadController::__construct

public ImageStyleDownloadController::__construct(LockBackendInterface $lock, ImageFactory $image_factory)

Constructs a ImageStyleDownloadController object.

Parameters

\Drupal\Core\Lock\LockBackendInterface $lock: The lock backend.

\Drupal\Core\Image\ImageFactory $image_factory: The image factory.

File

core/modules/image/src/Controller/ImageStyleDownloadController.php, line 51

Class

ImageStyleDownloadController
Defines a controller to serve image styles.

Namespace

Drupal\image\Controller

Code

public function __construct(LockBackendInterface $lock, ImageFactory $image_factory) {
  $this->lock = $lock;
  $this->imageFactory = $image_factory;
  $this->logger = $this->getLogger('image');
}
doc_Drupal
2016-10-29 09:19:42
Comments
Leave a Comment

Please login to continue.