public function FixedToContentMappingHandlerInterface::setBlockContent in Fixed Block Content 8
Links a fixed block to a block content.
Existing block content will be released if present.
Parameters
\Drupal\fixed_block_content\FixedBlockContentInterface $fixed_block: The fixed block.
\Drupal\block_content\BlockContentInterface $block_content: The block content.
1 method overrides FixedToContentMappingHandlerInterface::setBlockContent()
- FixedToContentMappingHandler::setBlockContent in src/
FixedToContentMappingHandler.php - Links a fixed block to a block content.
File
- src/
FixedToContentMappingHandlerInterface.php, line 25
Class
- FixedToContentMappingHandlerInterface
- Fixed block to block content mapping entity handler.
Namespace
Drupal\fixed_block_contentCode
public function setBlockContent(FixedBlockContentInterface $fixed_block, BlockContentInterface $block_content);