You are here

public function LingotekProfileDeleteForm::__construct in Lingotek Translation 3.4.x

Same name and namespace in other branches
  1. 8 src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::__construct()
  2. 8.2 src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::__construct()
  3. 4.0.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::__construct()
  4. 3.0.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::__construct()
  5. 3.1.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::__construct()
  6. 3.2.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::__construct()
  7. 3.3.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::__construct()
  8. 3.5.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::__construct()
  9. 3.6.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::__construct()
  10. 3.7.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::__construct()
  11. 3.8.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::__construct()

Constructs a new LingotekProfileDeleteForm object.

Parameters

\Drupal\lingotek\LingotekProfileUsageInterface $profile_usage: The Lingotek profiles usage service.

File

src/Form/LingotekProfileDeleteForm.php, line 29

Class

LingotekProfileDeleteForm
Provides a form for lingotek profiles deletion.

Namespace

Drupal\lingotek\Form

Code

public function __construct(LingotekProfileUsageInterface $profile_usage) {
  $this->profileUsage = $profile_usage;
}