You are here

public function RoleFeatureForm::__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

uc_role/src/Form/RoleFeatureForm.php, line 42

Class

RoleFeatureForm
Creates or edits a role feature for a product.

Namespace

Drupal\uc_role\Form

Code

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