Skip to content
Snippets Groups Projects
Commit 391c3dee authored by John Franklin's avatar John Franklin
Browse files

Remove unused filesystem.

parent aca231a5
No related branches found
No related tags found
1 merge request!73484416-addressed-pipelines-issues: Fixed the issues.
......@@ -8,7 +8,6 @@ use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Field\FieldDefinitionInterface;
use Drupal\Core\Field\FieldItemListInterface;
use Drupal\Core\File\FileSystemInterface;
use Drupal\Core\File\FileUrlGeneratorInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Image\ImageFactory;
......@@ -20,7 +19,6 @@ use Drupal\Core\Utility\LinkGeneratorInterface;
use Drupal\bg_img_field\Component\Render\CSSSnippet;
use Drupal\breakpoint\BreakpointManagerInterface;
use Drupal\responsive_image\Plugin\Field\FieldFormatter\ResponsiveImageFormatter;
// Use Drupal\token\TokenServiceInterface;.
use Drupal\token\Token;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\RequestStack;
......@@ -43,13 +41,6 @@ class BgImgFieldFormatter extends ResponsiveImageFormatter implements ContainerF
use LoggerChannelTrait;
/**
* The file system service.
*
* @var \Drupal\Core\File\FileSystemInterface
*/
protected $fileSystem;
/**
* The image factory service.
*
......@@ -127,8 +118,6 @@ class BgImgFieldFormatter extends ResponsiveImageFormatter implements ContainerF
* The current user.
* @param \Drupal\breakpoint\BreakpointManagerInterface $breakpoint_manager
* The breakpoint manager service.
* @param \Drupal\Core\File\FileSystemInterface $fileSystem
* The file system.
* @param \Drupal\Core\Image\ImageFactory $imageFactory
* The image factory.
* @param \Drupal\token\TokenServiceInterface $token_service
......@@ -155,7 +144,6 @@ class BgImgFieldFormatter extends ResponsiveImageFormatter implements ContainerF
LinkGeneratorInterface $link_generator,
AccountInterface $current_user,
BreakpointManagerInterface $breakpoint_manager,
FileSystemInterface $fileSystem,
ImageFactory $imageFactory,
Token $token_service,
RequestStack $request_stack,
......@@ -178,7 +166,6 @@ class BgImgFieldFormatter extends ResponsiveImageFormatter implements ContainerF
);
$this->entityTypeManager = $entityTypeManager;
$this->fileSystem = $fileSystem;
$this->entityTypeManager = $entityTypeManager;
$this->imageFactory = $imageFactory;
$this->tokenService = $token_service;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment