/**
  * Gets additional fields to render in the form to add/edit a task
  *
  * @param array $taskInfo Values of the fields from the add/edit task form
  * @param \TYPO3\CMS\Scheduler\Task\AbstractTask $task The task object being edited. Null when adding a task!
  * @param \TYPO3\CMS\Scheduler\Controller\SchedulerModuleController $schedulerModule Reference to the scheduler backend module
  * @return array A two dimensional array, array('Identifier' => array('fieldId' => array('code' => '', 'label' => '', 'cshKey' => '', 'cshLabel' => ''))
  */
 public function getAdditionalFields(array &$taskInfo, $task, SchedulerModuleController $schedulerModule)
 {
     $fields = array('urlsToCrawl' => 'textarea');
     if ($schedulerModule->CMD == 'edit') {
         $taskInfo[$this->fieldPrefix . 'UrlsToCrawl'] = $task->getUrlsToCrawl();
     }
     // build html field for additional field
     $fieldName = $this->getFullFieldName('urlsToCrawl');
     $fieldId = 'task_' . $fieldName;
     $placeholderText = $GLOBALS['LANG']->sL('LLL:EXT:minicrawler/locallang.xml:scheduler.placeholderText');
     $fieldHtml = '<textarea  class="form-control" rows="10" cols="75" placeholder="' . htmlspecialchars($placeholderText) . '" name="tx_scheduler[' . $fieldName . ']" ' . '>' . htmlspecialchars($taskInfo[$fieldName]) . '</textarea>';
     $additionalFields = array();
     $additionalFields[$fieldId] = array('code' => $fieldHtml, 'label' => $GLOBALS['LANG']->sL('LLL:EXT:minicrawler/locallang.xml:scheduler.fieldLabel'), 'cshKey' => '', 'cshLabel' => $fieldId);
     return $additionalFields;
 }