/** * @inheritdoc */ public function actions() { return ['error' => ['class' => 'yii\\web\\ErrorAction'], 'gallery' => ['class' => GalleryManagerAction::className(), 'types' => ['user' => User::className()]]]; }