protected function getIndexingConfigurationSelector() { $selectorMarkup = 'Please select a site first.'; $this->schedulerModule->doc->getPageRenderer()->addCssFile('../typo3conf/ext/solr/Resources/Css/Backend/indexingconfigurationselectorfield.css'); if (!is_null($this->site)) { $selectorField = GeneralUtility::makeInstance('ApacheSolrForTypo3\\Solr\\Backend\\IndexingConfigurationSelectorField', $this->site); $selectorField->setFormElementName('tx_scheduler[indexingConfigurations]'); $selectorField->setSelectedValues($this->task->getIndexingConfigurationsToReIndex()); $selectorMarkup = $selectorField->render(); } return $selectorMarkup; }