You are here

public function DefaultContentHandlerInterface::importDefaultContent in Fixed Block Content 8

Sets the current content of the custom block as the fixed default content.

Parameters

\Drupal\fixed_block_content\FixedBlockContentInterface $fixed_block: The fixed block to work with.

1 method overrides DefaultContentHandlerInterface::importDefaultContent()
DefaultContentHandler::importDefaultContent in src/DefaultContentHandler.php
Sets the current content of the custom block as the fixed default content.

File

src/DefaultContentHandlerInterface.php, line 30

Class

DefaultContentHandlerInterface
Default content handler interface for the fixed block content entity type.

Namespace

Drupal\fixed_block_content

Code

public function importDefaultContent(FixedBlockContentInterface $fixed_block);