You are here

public function CropTypeDeleteForm::__construct in Crop API 8.2

Same name and namespace in other branches
  1. 8 src/Form/CropTypeDeleteForm.php \Drupal\crop\Form\CropTypeDeleteForm::__construct()

Constructs a new CropTypeDeleteForm object.

Parameters

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation manager.

File

src/Form/CropTypeDeleteForm.php, line 30

Class

CropTypeDeleteForm
Provides a form for crop type deletion.

Namespace

Drupal\crop\Form

Code

public function __construct(TranslationInterface $string_translation) {
  $this->translation = $string_translation;
}