public function inform($cmd, $params = [])
    {
        switch ($cmd) {
          case 'label': // module's short name for menu
            if (!empty($this->params['label'])) {
                $label = $this->params['label'];
                // try to translate label
                $tcCat = TranslationsBuilder::getBaseTransCategory($this);
                $tc = "{$tcCat}/module";
                if (!empty(Yii::$app->i18n->translations["{$tcCat}*"])) {
                    $label = Yii::t($tc, $this->params['label']);
                }
                return $label;
            } else {
                //return false;
                try {
                    $ms = Yii::$app->i18n->getMessageSource(static::$tc);
                } catch(InvalidConfigException $ex) {
                    $ms = false;
                }
                return ($ms ? Yii::t(static::$tc, 'Module') : 'Module') . ' ' . $this->uniqueId;
            }
            break;
          case 'sitetree-params-action': // return action in route format
            //if (empty($params['module_full_id'])) return false;
            if (!empty($this->params['sitetree-params-action'])) return $this->params['sitetree-params-action'];
            break;
//todo
        }
        return null;
    }