protected function UploadFetcherForm::getSchemeOptions in Feeds 8.3
Returns available scheme options for use in checkboxes or select list.
Return value
array The available scheme array keyed scheme => description.
File
- src/
Feeds/ Fetcher/ Form/ UploadFetcherForm.php, line 99
Class
- UploadFetcherForm
- The configuration form for the upload fetcher.
Namespace
Drupal\feeds\Feeds\Fetcher\FormCode
protected function getSchemeOptions() {
$options = [];
foreach ($this->streamWrapperManager
->getDescriptions(StreamWrapperInterface::WRITE_VISIBLE) as $scheme => $description) {
$options[$scheme] = Html::escape($scheme . ': ' . $description);
}
return $options;
}