コード例 #1
0
ファイル: Module.php プロジェクト: Liv1020/cms
 /**
  * @return array
  */
 public static function descriptorConfig()
 {
     return array_merge(parent::descriptorConfig(), ["name" => \Yii::$app->cms->moduleCms()->getName() . " — " . \Yii::t('app', 'system administration'), "description" => \Yii::t('app', "The module is part of the module cms, it contains all the necessary elements for admin")]);
 }
コード例 #2
0
ファイル: Module.php プロジェクト: Liv1020/cms
 /**
  * @return array
  */
 public static function descriptorConfig()
 {
     return array_merge(parent::descriptorConfig(), ["version" => \Yii::$app->cms->extension->version, "name" => "SkeekS CMS", "description" => \Yii::t('app', "Basic module {cms}, without it nothing will work and the whole world will collapse.")]);
 }