get('active')) { App::behavior()->addBehaviors([ 'adminDashboardFavoritesV2' => BackendBehaviors::antispamDashboardFavoritesV2(...), 'adminColumnsListsV2' => BackendBehaviors::adminColumnsListsV2(...), 'adminFiltersListsV2' => BackendBehaviors::adminFiltersListsV2(...), 'adminPostHeaders' => BackendBehaviors::adminPostHeaders(...), 'adminPostFormItems' => BackendBehaviors::adminPostFormItems(...), 'adminAfterPostUpdate' => BackendBehaviors::adminAfterPostUpdate(...), // update existing short url 'adminAfterPostUpdate' => BackendBehaviors::adminAfterPostCreate(...), // create new short url 'adminAfterPostCreate' => BackendBehaviors::adminAfterPostCreate(...), 'adminBeforePostDelete' => BackendBehaviors::adminBeforePostDelete(...), 'adminPostsActions' => BackendBehaviors::adminPostsActions(...), ]); } App::behavior()->addBehaviors([ 'initWidgets' => Widgets::init(...), 'exportFullV2' => ImportExportBehaviors::exportFullV2(...), 'exportSingleV2' => ImportExportBehaviors::exportSingleV2(...), 'importInitV2' => ImportExportBehaviors::importInitV2(...), 'importSingleV2' => ImportExportBehaviors::importSingleV2(...), 'importFullV2' => ImportExportBehaviors::importFullV2(...), ]); return true; } }