@@ -181,6 +189,11 @@ public function __construct(array $configuration, $plugin_id, $plugin_definition
$this->iFrameUrlHelper=$iframe_url_helper;
$this->fileSystem=$file_system;
$this->token=$token;
if(!$image_factory){
@trigger_error('Calling '.__CLASS__.'::__construct() without the $image_factory argument is deprecated in drupal:11.4.0 and the $image_factory argument will be required in drupal:12.0.0. See https://www.drupal.org/node/9999999',E_USER_DEPRECATED);
$image_factory=\Drupal::service('image.factory');
}
$this->imageFactory=$image_factory;
}
/**
@@ -202,7 +215,8 @@ public static function create(ContainerInterface $container, array $configuratio