/** * Lists all SeoMeta models. * @return mixed */ public function actionIndex() { $dataProvider = new ActiveDataProvider(['query' => SeoPage::find()->with(array_keys(SeoMeta::nameList())), 'pagination' => ['pageSize' => 100]]); return $this->render('index', ['dataProvider' => $dataProvider]); }