You are here

public function GatsbyLogEntity::getTitle 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::getTitle()

Gets the title of the logged entity.

Return value

string The title of the logged entity.

Overrides GatsbyLogEntityInterface::getTitle

File

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

Class

GatsbyLogEntity
Defines the Gatsby log entity entity.

Namespace

Drupal\gatsby_fastbuilds\Entity

Code

public function getTitle() {
  return $this
    ->get('title')->value;
}