Skip to content
Snippets Groups Projects

Issue #3154069: Remove NodeController::revisionPageTitle

2 files
+ 0
17
Compare changes
  • Side-by-side
  • Inline

Files

@@ -116,22 +116,6 @@ public function revisionShow(NodeInterface $node_revision) {
return $page;
}
/**
* Page title callback for a node revision.
*
* @param \Drupal\node\NodeInterface $node_revision
* The node revision.
*
* @return string
* The page title.
*/
public function revisionPageTitle(NodeInterface $node_revision) {
return $this->t('Revision of %title from %date', [
'%title' => $node_revision->label(),
'%date' => $this->dateFormatter->format($node_revision->getRevisionCreationTime()),
]);
}
/**
* Generates an overview table of older revisions of a node.
*
Loading