Commit f939dc10 authored by Tino Goratsch's avatar Tino Goratsch

add the get_site_and_page_title_before event when rendering the homepage title

parent 22ab4a9c
......@@ -7,6 +7,7 @@
namespace ACP3\Modules\ACP3\System\Core\Breadcrumb;
use ACP3\Core\Breadcrumb\Event\GetSiteAndPageTitleBeforeEvent;
use ACP3\Core\Breadcrumb\Steps;
use ACP3\Core\Http\RequestInterface;
use ACP3\Core\Settings\SettingsInterface;
......@@ -76,6 +77,11 @@ class Title extends \ACP3\Core\Breadcrumb\Title
private function renderHomepageTitle(): string
new GetSiteAndPageTitleBeforeEvent($this)
if ($this->allowSystemSubtitle()) {
$settings = $this->getSettings();
Markdown is supported
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