/**
  * Returns the configuration for the flex forms field
  * "showRegistrationFieldsInRegistrationList" with the selectable database
  * columns.
  *
  * @param array[] $configuration the flex forms configuration
  *
  * @return array[] the modified flex forms configuration including the selectable database columns
  */
 public function getShowRegistrationFieldsInRegistrationList(array $configuration)
 {
     foreach ($this->getColumnsOfTable('tx_seminars_attendances') as $column) {
         $label = $this->language->getLL('label_' . ($column == 'uid' ? 'registration_' : '') . $column);
         if ($label == '') {
             $label = $column;
         }
         $configuration['items'][] = array(0 => $label, 1 => $column);
     }
     return $configuration;
 }