public function UserForm::__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_file/
src/ Form/ UserForm.php, line 47
Class
- UserForm
- Creates or edits a file feature for a product.
Namespace
Drupal\uc_file\FormCode
public function __construct(TimeInterface $time, DateFormatterInterface $date_formatter) {
$this->time = $time;
$this->dateFormatter = $date_formatter;
}