You are here

public function RecentlyRead::getName in Recently Read 8

Gets the Recently read name.

Return value

string Name of the Recently read.

Overrides RecentlyReadInterface::getName

File

src/Entity/RecentlyRead.php, line 67

Class

RecentlyRead
Defines the Recently read entity.

Namespace

Drupal\recently_read\Entity

Code

public function getName() {
  return $this
    ->get('name')->value;
}