You are here

public function LPModuleAvailability::getOpenDate 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::getOpenDate()

Get training module open date.

File

src/Entity/LPModuleAvailability.php, line 80

Class

LPModuleAvailability
The Learning Path Module Availability entity type definition.

Namespace

Drupal\opigno_learning_path\Entity

Code

public function getOpenDate() {
  return $this
    ->get('open_date')->value;
}