public static function FillPdfForm::getStorageSchemeOptions in FillPDF 5.0.x
Same name and namespace in other branches
- 8.4 src/Entity/FillPdfForm.php \Drupal\fillpdf\Entity\FillPdfForm::getStorageSchemeOptions()
Allowed values callback for 'scheme' base field definition.
Return value
string[] Associative array of storage scheme descriptions, keyed by the scheme.
See also
::baseFieldDefinitions()
File
- src/
Entity/ FillPdfForm.php, line 258
Class
- FillPdfForm
- Defines the entity for managing uploaded FillPDF forms.
Namespace
Drupal\fillpdf\EntityCode
public static function getStorageSchemeOptions() {
$options = [];
foreach (self::getAllowedStorageSchemes() as $scheme) {
$options[$scheme] = $scheme . '://';
}
return $options;
}