protected function NodeDeleteForm::logDeletionMessage in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/node/src/Form/NodeDeleteForm.php \Drupal\node\Form\NodeDeleteForm::logDeletionMessage()
Overrides ContentEntityDeleteForm::logDeletionMessage
File
- core/
modules/ node/ src/ Form/ NodeDeleteForm.php, line 44 - Contains \Drupal\node\Form\NodeDeleteForm.
Class
- NodeDeleteForm
- Provides a form for deleting a node.
Namespace
Drupal\node\FormCode
protected function logDeletionMessage() {
/** @var \Drupal\node\NodeInterface $entity */
$entity = $this
->getEntity();
$this
->logger('content')
->notice('@type: deleted %title.', [
'@type' => $entity
->getType(),
'%title' => $entity
->label(),
]);
}