BlockContentInterface::setRevisionLog

public BlockContentInterface::setRevisionLog($revision_log)

Sets the block revision log message.

Parameters

string $revision_log: The revision log message.

Return value

\Drupal\block_content\BlockContentInterface The class instance that this method is called on.

Deprecated

in Drupal 8.2.0, will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::setRevisionLogMessage() instead.

File

core/modules/block_content/src/BlockContentInterface.php, line 48

Class

BlockContentInterface
Provides an interface defining a custom block entity.

Namespace

Drupal\block_content

Code

public function setRevisionLog($revision_log);
doc_Drupal
2016-10-29 08:47:00
Comments
Leave a Comment

Please login to continue.