protected function prepareConfiguration($type) { $fieldConfiguration = array('type' => $type, 'transform' => $this->getTransform(), 'default' => $this->getDefault()); return $fieldConfiguration; }