Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BlockContentInterface.php

function 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_content

Code

public function setInfo($info);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal