activityReport->addLog('dcadvancedcleaner', 'maintenance', [$type,$action, $ns]); } public static function add($core) { // This file is used with plugin activityReport $core->activityReport->addGroup( 'dcadvancedcleaner', __('Plugin dcAdvancedCleaner') ); // from BEHAVIOR dcAdvancedCleanerBeforeAction // in dcAdvancedCleaner/inc/class.dc.advanced.cleaner.php $core->activityReport->addAction( 'dcadvancedcleaner', 'maintenance', __('Maintenance'), __('New action from dcAdvancedCleaner has been made with type="%s", action="%s", ns="%s".'), 'dcAdvancedCleanerBeforeAction', ['dcAdvancedCleanerActivityReportBehaviors', 'maintenance'] ); } }