You are here

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

Returns the ILT title.

Return value

string|null The ILT title, or NULL in case title field has not been set on the entity.

Overrides ILTInterface::getTitle

File

src/Entity/ILT.php, line 99

Class

ILT
Defines the ILT entity.

Namespace

Drupal\opigno_ilt\Entity

Code

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