Added backend.layout.extendHead event

This commit is contained in:
Luke Towers 2019-02-25 12:56:55 -06:00
parent d1c71af4da
commit 5dfb5ca988
2 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@
<?= $this->makeAssets() ?>
<?= Block::placeholder('head') ?>
<?= $this->makeLayoutPartial('custom_styles') ?>
<?= $this->fireViewEvent('backend.layout.extendHead', ['layout' => 'auth.htm']) ?>
</head>
<body class="outer <?= $this->bodyClass ?>">
<div id="layout-canvas">

View File

@ -2,6 +2,7 @@
<html lang="<?= App::getLocale() ?>" class="no-js <?= $this->makeLayoutPartial('browser_detector') ?>">
<head>
<?= $this->makeLayoutPartial('head') ?>
<?= $this->fireViewEvent('backend.layout.extendHead', ['layout' => 'default.htm']) ?>
</head>
<body class="<?= $this->bodyClass ?>">
<div id="layout-canvas">