You are here

public function FixedToContentMappingHandlerInterface::getBlockContent in Fixed Block Content 8

Gets the block content linked with a fixed block.

Parameters

string $fixed_block_id: The ID of the fixed block.

Return value

\Drupal\block_content\BlockContentInterface|null The block content, NULL if none found.

1 method overrides FixedToContentMappingHandlerInterface::getBlockContent()
FixedToContentMappingHandler::getBlockContent in src/FixedToContentMappingHandler.php
Gets the block content linked with a fixed block.

File

src/FixedToContentMappingHandlerInterface.php, line 36

Class

FixedToContentMappingHandlerInterface
Fixed block to block content mapping entity handler.

Namespace

Drupal\fixed_block_content

Code

public function getBlockContent($fixed_block_id);