($this->group !== null) ? $this->group->id : 0, 'parent_id' => ($this->parent !== null) ? $this->parent->id : 0 ] ); }; return ArrayHelper::merge( parent::actions(), [ 'attribute-save-position' => [ 'class' => EditableAttributeSave::class, 'modelClass' => $this->model, 'attribute' => 'position', 'returnValue' => function ($model) { return $model['position'] ?? 0; } ] ] ); } }