* @copyright (c), Thread */ class StaticTextBlockController extends BackendController { public $model = StaticTextBlock::class; public $modelLang = StaticTextBlockLang::class; public $filterModel = filterPageModel::class; public $title = 'StaticTextBlock'; public $name = 'statictextblock'; /** * @return array */ public function actions() { return ArrayHelper::merge( parent::actions(), [ 'attribute-save' => [ 'class' => EditableAttributeSaveLang::class, 'modelClass' => $this->modelLang, 'attribute' => 'title', ] ] ); } }