You are here

public function FixedToContentMappingHandlerInterface::getFixedBlock in Fixed Block Content 8

Gets the fixed block linked to the given block content.

Parameters

\Drupal\block_content\BlockContentInterface $block_content: The block content.

Return value

\Drupal\fixed_block_content\FixedBlockContentInterface|null The fixed block, NULL if none found.

1 method overrides FixedToContentMappingHandlerInterface::getFixedBlock()
FixedToContentMappingHandler::getFixedBlock in src/FixedToContentMappingHandler.php
Gets the fixed block linked to the given block content.

File

src/FixedToContentMappingHandlerInterface.php, line 55

Class

FixedToContentMappingHandlerInterface
Fixed block to block content mapping entity handler.

Namespace

Drupal\fixed_block_content

Code

public function getFixedBlock(BlockContentInterface $block_content);