You are here

public function ILT::setTitle in Opigno Instructor-led Trainings 8

Same name and namespace in other branches
  1. 3.x src/Entity/ILT.php \Drupal\opigno_ilt\Entity\ILT::setTitle()

Sets the ILT title.

Parameters

string $title: The ILT title.

Return value

$this

Overrides ILTInterface::setTitle

File

src/Entity/ILT.php, line 106

Class

ILT
Defines the ILT entity.

Namespace

Drupal\opigno_ilt\Entity

Code

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