/**
  * Set the attributes according to the allowed attributes of this element
  *
  * @param array $parameters Configuration array
  * @return void
  */
 protected function setAttributes(array $parameters)
 {
     // preserve backward compatibility by rewriting data to text
     if (isset($parameters['data'])) {
         $this->configuration['attributes']['text'] = $parameters['data'];
     }
     parent::setAttributes($parameters);
 }
 /**
  * Set the attributes according to the allowed attributes of this element
  *
  * @param array $parameters Configuration array
  * @return void
  */
 protected function setAttributes(array $parameters)
 {
     parent::setAttributes($parameters);
 }