/** * Get config * * @return string */ protected function getConfig() { if (!$this->table->getDataSource() instanceof Dom) { $this->prepareColumnsConfig(); } $this->prepareExtensionsConfig(); $config = []; $config += $this->table->getProperties(); return json_encode($config); }