namespace Drupal\image\Plugin\ImageEffect;
-use Drupal\Component\Utility\Unicode;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Image\ImageInterface;
use Drupal\image\ConfigurableImageEffectBase;
*/
public function getSummary() {
$summary = [
- '#markup' => Unicode::strtoupper($this->configuration['extension']),
+ '#markup' => mb_strtoupper($this->configuration['extension']),
];
$summary += parent::getSummary();
$extensions = \Drupal::service('image.toolkit.manager')->getDefaultToolkit()->getSupportedExtensions();
$options = array_combine(
$extensions,
- array_map(['\Drupal\Component\Utility\Unicode', 'strtoupper'], $extensions)
+ array_map('mb_strtoupper', $extensions)
);
$form['extension'] = [
'#type' => 'select',