controllers/AdminController.php
public function actionIndex()
    {
        $searchModel  = $this->module->manager->createBlockSearch();
        $dataProvider = $searchModel->search($_GET);

        return $this->render('index', [
            'dataProvider' => $dataProvider,
            'searchModel'  => $searchModel,
        ]);
    }
public function actionIndex()
    {
        $searchModel  = $this->module->manager->createBlockSearch();
        $dataProvider = $searchModel->search($_GET);

        return $this->render('index', [
            'dataProvider' => $dataProvider,
            'searchModel'  => $searchModel,
        ]);
    }
public function actionIndex ( ) { $ searchModel = $ this -> module -> manager -> createBlockSearch ( ) ; $ dataProvider = $ searchModel -> search ( $ _GET ) ; return $ this -> render ( 'index' , [ 'dataProvider' => $ dataProvider , 'searchModel' => $ searchModel , ] ) ; }
Lists all Block models.
@return mixed
Lists all Block models .