terminal42 / contao-notification_center

The most popular notification configuration extension for the Contao Open Source CMS!
63 stars 38 forks source link

setLoadAfter vom Notification Center in Contao4-Bundle #188

Closed srhinow closed 5 years ago

srhinow commented 5 years ago

In meinem Contao4-Bundle benötige ich das NotificationCenter welches zuvor geladen werden muss. Denn ich erstelle ein type welches dann ja vom NotificationCenter überschrieben wird wenn es erst später als mein Bundle geladen wird. Normalerweise macht man das ja in der Plugin.php mit

->setLoadAfter([NotificationCenter::class])

Aber das geht ja so nicht da das notification_center noch mit alter Contao3 -Logik in system/modules und autoload.ini arbeitet. Wie mach ich das in diesem Fall?

Toflar commented 5 years ago

setLoadAfter('notification_center')