public function CropTypeDeleteForm::__construct in Crop API 8.2
Same name and namespace in other branches
- 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\FormCode
public function __construct(TranslationInterface $string_translation) {
$this->translation = $string_translation;
}