public function SermepaForm::__construct in Commerce sermepa 8.2
Constructs a new SermepaForm object.
Parameters
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.
\Drupal\Component\Datetime\TimeInterface $time: The time service.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- src/
PluginForm/ OffsiteRedirect/ SermepaForm.php, line 57
Class
- SermepaForm
- Provides the Sermepa/Redsýs class for the payment form.
Namespace
Drupal\commerce_sermepa\PluginForm\OffsiteRedirectCode
public function __construct(MessengerInterface $messenger, TimeInterface $time, EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->messenger = $messenger;
$this->time = $time;
}