Commit 2a2f6288 authored by Benni Mack's avatar Benni Mack Committed by Christian Kuhn
Browse files

[TASK] Rename method inside PageLayoutController

Give the actual method the name "generateMessagesForCurrentPage"
as no flash messages are generated.

Resolves: #93428
Releases: master
Change-Id: I1c0c9e721a012fab2942133637fcd8513571d03c

Reviewed-by: Sybille Peters's avatarSybille Peters <>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <>
Tested-by: core-ci's avatarcore-ci <>
Tested-by: Wouter Wolters's avatarWouter Wolters <>
Tested-by: Christian Kuhn's avatarChristian Kuhn <>
parent 9f228e99
......@@ -361,11 +361,11 @@ class PageLayoutController
* Generate the flashmessages for current pid
* Generate various messages (rendered as callouts) for the current page record (such as if the page has a special doktype).
* @return string HTML content with flashmessages
* @return string HTML content with messages
protected function getHeaderFlashMessagesForCurrentPid(): string
protected function generateMessagesForCurrentPage(): string
$content = '';
$lang = $this->getLanguageService();
......@@ -594,7 +594,7 @@ class PageLayoutController
$this->colPosList = implode(',', $colPosArray);
$content .= $this->getHeaderFlashMessagesForCurrentPid();
$content .= $this->generateMessagesForCurrentPage();
// Render the primary module content:
$content .= '<form action="' . htmlspecialchars((string)$this->uriBuilder->buildUriFromRoute($this->moduleName, ['id' => $this->id])) . '" id="PageLayoutController" method="post">';
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment