diff --git a/src/GridFieldEditableColumns.php b/src/GridFieldEditableColumns.php index 2c522da..3b948f9 100644 --- a/src/GridFieldEditableColumns.php +++ b/src/GridFieldEditableColumns.php @@ -66,7 +66,7 @@ class GridFieldEditableColumns extends GridFieldDataColumns implements /** * @return bool|array */ - public function getSkipWriteComponents() + public function getComponentWriteConfig() { return $this->skipWriteComponents; } @@ -75,7 +75,7 @@ public function getSkipWriteComponents() * @param bool|array $skipConfig * @return $this */ - public function setSkipWriteComponents($skipConfig) + public function setComponentWriteConfig($skipConfig) { $this->skipWriteComponents = $skipConfig; return $this; @@ -187,7 +187,7 @@ public function handleSave(GridField $grid, DataObjectInterface $record) $extra = array_intersect_key($form->getData(), (array) $list->getExtraFields()); } - $item->write(false, false, false, $this->getSkipWriteComponents()); + $item->write(false, false, false, $this->getComponentWriteConfig()); $list->add($item, $extra); } }