You are here

public function PromotionInterface::setStartDate in Commerce Core 8.2

Sets the promotion start date/time.

Parameters

\Drupal\Core\Datetime\DrupalDateTime $start_date: The promotion start date/time.

Return value

$this

1 method overrides PromotionInterface::setStartDate()
Promotion::setStartDate in modules/promotion/src/Entity/Promotion.php
Sets the promotion start date/time.

File

modules/promotion/src/Entity/PromotionInterface.php, line 304

Class

PromotionInterface
Defines the interface for promotions.

Namespace

Drupal\commerce_promotion\Entity

Code

public function setStartDate(DrupalDateTime $start_date);