code: public function getAllOptions(): array
      {
          $this->loadOptions();
  
          $event = new ImageSizesEvent($this->options);
  
          $this->eventDispatcher->dispatch(ContaoCoreEvents::IMAGE_SIZES_ALL, $event);
  
          return $event->getImageSizes();
      }
docs: Returns the image sizes as options suitable for widgets.
  
  @return array<string,string[]>