You are here

public function RecentlyReadType::getTypes in Recently Read 8

Return recently read types.

Return value

string Name of recently read types.

Overrides RecentlyReadTypeInterface::getTypes

File

src/Entity/RecentlyReadType.php, line 71

Class

RecentlyReadType
Defines the Recently read type entity.

Namespace

Drupal\recently_read\Entity

Code

public function getTypes() {
  return array_filter($this
    ->get('types'));
}