You are here

public function ReceiveCheckForm::__construct in Ubercart 8.4

Form constructor.

Parameters

\Drupal\Component\Datetime\TimeInterface $time: The datetime.time service.

\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date.formatter service.

File

payment/uc_payment_pack/src/Form/ReceiveCheckForm.php, line 40

Class

ReceiveCheckForm
Form for recording a received check and expected clearance date.

Namespace

Drupal\uc_payment_pack\Form

Code

public function __construct(TimeInterface $time, DateFormatterInterface $date_formatter) {
  $this->time = $time;
  $this->dateFormatter = $date_formatter;
}