protected function IndividualDeleteForm::getDeletionMessage in CRM Core 8
Same name and namespace in other branches
- 8.3 modules/crm_core_contact/src/Form/IndividualDeleteForm.php \Drupal\crm_core_contact\Form\IndividualDeleteForm::getDeletionMessage()
- 8.2 modules/crm_core_contact/src/Form/IndividualDeleteForm.php \Drupal\crm_core_contact\Form\IndividualDeleteForm::getDeletionMessage()
Overrides ContentEntityDeleteForm::getDeletionMessage
File
- modules/
crm_core_contact/ src/ Form/ IndividualDeleteForm.php, line 15
Class
- IndividualDeleteForm
- The confirmation form for deleting an individual.
Namespace
Drupal\crm_core_contact\FormCode
protected function getDeletionMessage() {
$entity = $this
->getEntity();
return $this
->t('The individual %name (%id) has been deleted.', [
'%id' => $entity
->id(),
'%name' => $entity
->label(),
]);
}