You are here

public function GatsbyLogEntity::setTitle in Gatsby Live Preview & Incremental Builds 8

Same name and namespace in other branches
  1. 2.0.x modules/gatsby_fastbuilds/src/Entity/GatsbyLogEntity.php \Drupal\gatsby_fastbuilds\Entity\GatsbyLogEntity::setTitle()

Sets the title of the logged entity.

Parameters

string $title: The title of the logged entity.

Return value

\Drupal\gatsby\Entity\GatsbyLogEntityInterface The called Gatsby log entity entity.

Overrides GatsbyLogEntityInterface::setTitle

File

modules/gatsby_fastbuilds/src/Entity/GatsbyLogEntity.php, line 47

Class

GatsbyLogEntity
Defines the Gatsby log entity entity.

Namespace

Drupal\gatsby_fastbuilds\Entity

Code

public function setTitle($title) {
  $this
    ->set('title', $title);
  return $this;
}