IndividualDeleteForm.php in CRM Core 8
Same filename and directory in other branches
Namespace
Drupal\crm_core_contact\FormFile
modules/crm_core_contact/src/Form/IndividualDeleteForm.phpView source
<?php
namespace Drupal\crm_core_contact\Form;
use Drupal\Core\Entity\ContentEntityDeleteForm;
/**
* The confirmation form for deleting an individual.
*/
class IndividualDeleteForm extends ContentEntityDeleteForm {
/**
* {@inheritdoc}
*/
protected function getDeletionMessage() {
$entity = $this
->getEntity();
return $this
->t('The individual %name (%id) has been deleted.', [
'%id' => $entity
->id(),
'%name' => $entity
->label(),
]);
}
}
Classes
Name | Description |
---|---|
IndividualDeleteForm | The confirmation form for deleting an individual. |