protected NodeDeleteForm::logDeletionMessage()
Overrides ContentEntityDeleteForm::logDeletionMessage
File
- core/modules/node/src/Form/NodeDeleteForm.php, line 39
Class
- NodeDeleteForm
- Provides a form for deleting a node.
Namespace
Drupal\node\Form
Code
protected function logDeletionMessage() { /** @var \Drupal\node\NodeInterface $entity */ $entity = $this->getEntity(); $this->logger('content')->notice('@type: deleted %title.', ['@type' => $entity->getType(), '%title' => $entity->label()]); }
Please login to continue.