protected function createEmptyDataFor($attribute) { $result = array(); $defaults = $attribute->getDefaultRenderSettings(); foreach ($defaults->getKeys() as $key) { $result[$key] = $defaults->get($key); } return $result; }