public function GroupContentTypeDeleteForm::getQuestion in Group 8
Same name and namespace in other branches
- 2.0.x src/Entity/Form/GroupContentTypeDeleteForm.php \Drupal\group\Entity\Form\GroupContentTypeDeleteForm::getQuestion()
Overrides EntityDeleteFormTrait::getQuestion
1 call to GroupContentTypeDeleteForm::getQuestion()
- GroupContentTypeDeleteForm::buildForm in src/
Entity/ Form/ GroupContentTypeDeleteForm.php - Form constructor.
File
- src/
Entity/ Form/ GroupContentTypeDeleteForm.php, line 22
Class
- GroupContentTypeDeleteForm
- Provides a form for group content type deletion.
Namespace
Drupal\group\Entity\FormCode
public function getQuestion() {
/** @var \Drupal\group\Entity\GroupContentTypeInterface $group_content_type */
$group_content_type = $this
->getEntity();
return $this
->t('Are you sure you want to uninstall the %plugin plugin?', [
'%plugin' => $group_content_type
->getContentPlugin()
->getLabel(),
]);
}