You are here

public function Media::setRevisionLogMessage in Media entity 8

Sets the entity revision log message.

Parameters

string $revision_log_message: The revision log message.

Return value

$this

Overrides RevisionLogInterface::setRevisionLogMessage

File

src/Entity/Media.php, line 482

Class

Media
Defines the media entity class.

Namespace

Drupal\media_entity\Entity

Code

public function setRevisionLogMessage($revision_log_message) {
  $this->revision_log->value = $revision_log_message;
  return $this;
}