addBehavior('advancedCleanerAdd', ['advancedCleanerVersions', 'create']); $core->addBehavior('advancedCleanerAdd', ['advancedCleanerSettings', 'create']); $core->addBehavior('advancedCleanerAdd', ['advancedCleanerTables', 'create']); $core->addBehavior('advancedCleanerAdd', ['advancedCleanerThemes', 'create']); $core->addBehavior('advancedCleanerAdd', ['advancedCleanerPlugins', 'create']); $core->addBehavior('advancedCleanerAdd', ['advancedCleanerCaches', 'create']); $core->addBehavior('advancedCleanerAdd', ['advancedCleanerVars', 'create']); # dcac behaviors $core->addBehavior('adminDashboardFavorites', ['behaviorsDcAdvancedCleaner', 'adminDashboardFavorites']); $core->addBehavior('pluginsToolsTabs', ['behaviorsDcAdvancedCleaner', 'pluginsToolsTabs']); $core->addBehavior('adminModulesListDoActions', ['behaviorsDcAdvancedCleaner', 'adminModulesListDoActions']); $core->addBehavior('pluginsBeforeDelete', ['behaviorsDcAdvancedCleaner', 'pluginsBeforeDelete']); $core->addBehavior('themeBeforeDelete', ['behaviorsDcAdvancedCleaner', 'themeBeforeDelete']); if (defined('ACTIVITY_REPORT')) { dcAdvancedCleanerActivityReportBehaviors::add($core); }