public function prepareConfiguration($type)
{
$configuration = parent::prepareConfiguration($type);
$configuration['size'] = $this->getSize();
$configuration['maxitems'] = $this->getMaxItems();
$configuration['minitems'] = $this->getMinItems();
$configuration['multiple'] = $this->getMultiple();
$configuration['renderMode'] = $this->getRenderMode();
$configuration['itemListStyle'] = $this->getItemListStyle();
$configuration['selectedListStyle'] = $this->getSelectedListStyle();
$configuration['renderType'] = $this->getRenderType();
return $configuration;
}