You are here

public function PhotosImageEditForm::__construct in Album Photos 8.4

Same name and namespace in other branches
  1. 8.5 src/Form/PhotosImageEditForm.php \Drupal\photos\Form\PhotosImageEditForm::__construct()
  2. 6.0.x src/Form/PhotosImageEditForm.php \Drupal\photos\Form\PhotosImageEditForm::__construct()

File

src/Form/PhotosImageEditForm.php, line 69

Class

PhotosImageEditForm
Defines a form to edit images.

Namespace

Drupal\photos\Form

Code

public function __construct(Connection $connection, DateFormatterInterface $date_formatter, EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler, RendererInterface $renderer) {
  $this->connection = $connection;
  $this->dateFormatter = $date_formatter;
  $this->entityTypeManager = $entity_type_manager;
  $this->moduleHandler = $module_handler;
  $this->renderer = $renderer;
}