config->getAllowedExtensions() as $extension) { $options[] = ['value' => $extension, 'label' => strtoupper($extension)]; } return $options; } }