setLabel(AmosTranslation::tHtml('amostranslation', 'Clean cache')); $this->setDescription(AmosTranslation::t('amostranslation', 'Clean cache')); $this->setIcon('translate'); $this->setIconFramework('am'); $this->setUrl(Yii::$app->urlManager->createUrl(['/translation/translatemanager/clean-cache'])); $this->setCode('TRANSLATE_CLEAN_CACHE'); $this->setModuleName('translation'); $this->setNamespace(__CLASS__); $this->setClassSpan( ArrayHelper::merge( $this->getClassSpan(), [ 'bk-backgroundIcon', 'color-primary' ] ) ); } }