/** * @return ArrayList */ public function getComponents() { return $this->config->getComponents(); }
/** * Set which GridFieldComponent's that this GridFields contain by using a GridFieldConfig * * @param GridFieldConfig $config * @see GridFieldComponent */ protected function setComponents(GridFieldConfig $config) { $this->components = $config->getComponents(); return $this; }