function BlockContentInterface::setInfo
Same name in other branches
- 9 core/modules/block_content/src/BlockContentInterface.php \Drupal\block_content\BlockContentInterface::setInfo()
- 8.9.x core/modules/block_content/src/BlockContentInterface.php \Drupal\block_content\BlockContentInterface::setInfo()
- 10 core/modules/block_content/src/BlockContentInterface.php \Drupal\block_content\BlockContentInterface::setInfo()
Sets the block description.
Parameters
string $info: The block description.
Return value
$this The class instance that this method is called on.
1 method overrides BlockContentInterface::setInfo()
- BlockContent::setInfo in core/
modules/ block_content/ src/ Entity/ BlockContent.php - Sets the block description.
File
-
core/
modules/ block_content/ src/ BlockContentInterface.php, line 25
Class
- BlockContentInterface
- Provides an interface defining a content block entity.
Namespace
Drupal\block_contentCode
public function setInfo($info);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.