1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-11 23:54:06 +02:00

Flextype Admin: Event onCurrentEntryBeforeLoaded - removed.

This commit is contained in:
Awilum
2019-01-21 20:17:55 +03:00
parent 7333a925b2
commit 757945893f

View File

@@ -43,7 +43,7 @@ if (Admin::isAdminArea()) {
//
// Add listner for onCurrentPageBeforeLoaded event
//
Event::addListener('onCurrentEntryBeforeLoaded', function () {
Event::addListener('onCurrentEntryBeforeProcessed', function () {
// Add navigation links
NavigationManager::addItem('content', 'entries', '<i class="far fa-newspaper"></i>' . __('admin_entries', Registry::get('settings.locale')), Http::getBaseUrl() . '/admin/entries', ['class' => 'nav-link']);