public function WeatherDisplayDeleteForm::__construct in Weather 2.0.x
Same name and namespace in other branches
- 8 src/Form/WeatherDisplayDeleteForm.php \Drupal\weather\Form\WeatherDisplayDeleteForm::__construct()
WeatherDisplayDeleteForm constructor.
Parameters
\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository service.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface|null $entity_type_bundle_info: The entity type bundle service.
\Drupal\Component\Datetime\TimeInterface|null $time: The time service.
\Drupal\Core\Block\BlockManagerInterface $block_manager: The block manager.
Overrides ContentEntityForm::__construct
File
- src/
Form/ WeatherDisplayDeleteForm.php, line 41
Class
- WeatherDisplayDeleteForm
- Provides a form for deleting a weather_display entity.
Namespace
Drupal\weather\FormCode
public function __construct(EntityRepositoryInterface $entity_repository, EntityTypeBundleInfoInterface $entity_type_bundle_info = NULL, TimeInterface $time = NULL, BlockManagerInterface $block_manager) {
parent::__construct($entity_repository, $entity_type_bundle_info, $time);
$this->blockManager = $block_manager;
}