You are here

public function DefaultContentHandler::__construct in Fixed Block Content 8

Creates a new DefaultContentHandler object.

Parameters

\Symfony\Component\Serializer\Serializer $serializer: The serializer.

\Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend.

\Drupal\hal\LinkManager\LinkManager $link_manager: The HAL link manager.

\Psr\Log\LoggerInterface $logger: A logger instance.

File

src/DefaultContentHandler.php, line 60

Class

DefaultContentHandler
Fixed block content default content handler.

Namespace

Drupal\fixed_block_content

Code

public function __construct(Serializer $serializer, CacheBackendInterface $cache, LinkManager $link_manager, LoggerInterface $logger) {
  $this->serializer = $serializer;
  $this->cache = $cache;
  $this->linkManager = $link_manager;
  $this->logger = $logger;
}