function BlockVariantInterface::addBlock
Same name in other branches
- 8.x-3.x src/Plugin/BlockVariantInterface.php \Drupal\ctools\Plugin\BlockVariantInterface::addBlock()
Adds a block to this display variant.
Parameters
array $configuration: An array of block configuration.
Return value
string The block ID.
File
-
src/
Plugin/ BlockVariantInterface.php, line 40
Class
- BlockVariantInterface
- Provides an interface for variant plugins that use block plugins.
Namespace
Drupal\ctools\PluginCode
public function addBlock(array $configuration);