You are here

public function SocialMediaLinksBlock::__construct in Social Media Links Block and Field 8.2

Overrides BlockPluginTrait::__construct

File

src/Plugin/Block/SocialMediaLinksBlock.php, line 58

Class

SocialMediaLinksBlock
Provides the Social Media Links Block.

Namespace

Drupal\social_media_links\Plugin\Block

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, SocialMediaLinksPlatformManager $platform_manager, SocialMediaLinksIconsetManager $iconset_manager, IconsetFinderService $finder_service, RendererInterface $renderer, LoggerInterface $logger) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->platformManager = $platform_manager;
  $this->iconsetManager = $iconset_manager;
  $this->iconsetFinderService = $finder_service;
  $this->renderer = $renderer;
  $this->logger = $logger;
}