You are here

public function LPModuleAvailability::getCloseDate in Opigno Learning path 8

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

Get training module close date.

File

src/Entity/LPModuleAvailability.php, line 87

Class

LPModuleAvailability
The Learning Path Module Availability entity type definition.

Namespace

Drupal\opigno_learning_path\Entity

Code

public function getCloseDate() {
  return $this
    ->get('close_date')->value;
}