ActivityDeleteForm.php in CRM Core 8.2
File
modules/crm_core_activity/src/Form/ActivityDeleteForm.php
View source
<?php
namespace Drupal\crm_core_activity\Form;
use Drupal\Core\Entity\ContentEntityDeleteForm;
class ActivityDeleteForm extends ContentEntityDeleteForm {
protected function getDeletionMessage() {
$entity = $this
->getEntity();
return $this
->t('@type %title has been deleted.', array(
'%id' => $entity
->id(),
'%title' => $entity
->label(),
'@type' => $entity
->get('type')->entity
->label(),
));
}
}