mirocow\eav\admin\controllers\AttributeController::actionDelete PHP Method

actionDelete() public method

If deletion is successful, the browser will be redirected to the 'index' page.
public actionDelete ( integer $id ) : mixed
$id integer
return mixed
    public function actionDelete($id)
    {
        $this->findModel($id)->delete();
        return $this->redirect(['index']);
    }