public function PhotosStatisticsUpdateController::__construct in Album Photos 6.0.x
Same name and namespace in other branches
- 8.5 src/Controller/PhotosStatisticsUpdateController.php \Drupal\photos\Controller\PhotosStatisticsUpdateController::__construct()
Constructor.
Parameters
\Drupal\Core\Database\Connection $connection: The database connection.
File
- src/
Controller/ PhotosStatisticsUpdateController.php, line 30
Class
- PhotosStatisticsUpdateController
- Update image view count(s).
Namespace
Drupal\photos\ControllerCode
public function __construct(Connection $connection) {
$this->connection = $connection;
}