You are here

public function LPModuleAvailability::getCloseDate in Opigno Learning path 3.x

Same name and namespace in other branches
  1. 8 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;
}