You are here

public function ILTInterface::setDate in Opigno Instructor-led Trainings 8

Same name and namespace in other branches
  1. 3.x src/ILTInterface.php \Drupal\opigno_ilt\ILTInterface::setDate()

Sets the entity's date range.

Parameters

array $date: The date range. Array keys:

  • value - Start date string in the 'Y-m-d H:i:s' format.
  • end_value - End date string in the 'Y-m-d H:i:s' format.

Return value

$this

1 method overrides ILTInterface::setDate()
ILT::setDate in src/Entity/ILT.php
Sets the entity's date range.

File

src/ILTInterface.php, line 71

Class

ILTInterface
Provides an interface defining a ILT entity.

Namespace

Drupal\opigno_ilt

Code

public function setDate(array $date);