You are here

public function LatestActivity::getModule in Opigno Learning path 8

Same name and namespace in other branches
  1. 3.x src/Entity/LatestActivity.php \Drupal\opigno_learning_path\Entity\LatestActivity::getModule()

Gets the module entity.

Return value

\Drupal\opigno_module\Entity\OpignoModuleInterface The module entity.

Overrides LatestActivityInterface::getModule

File

src/Entity/LatestActivity.php, line 124

Class

LatestActivity
Defines the Latest Activity entity.

Namespace

Drupal\opigno_learning_path\Entity

Code

public function getModule() {
  return $this
    ->get('module')->entity;
}