public function ConfigOperationsProvider::__construct in Payment 8.2
Constructs a new instance.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $payment_status_storage: The payment status storage.
\Drupal\Core\Entity\EntityListBuilderInterface $payment_status_list_builder: The payment status list builder.
File
- src/
Plugin/ Payment/ Status/ ConfigOperationsProvider.php, line 41
Class
- ConfigOperationsProvider
- Provides payment status operations payment statuses based on config entities.
Namespace
Drupal\payment\Plugin\Payment\StatusCode
public function __construct(EntityStorageInterface $payment_status_storage, EntityListBuilderInterface $payment_status_list_builder) {
$this->paymentStatusListBuilder = $payment_status_list_builder;
$this->paymentStatusStorage = $payment_status_storage;
}