PaymentStatusOperationsProvider.php in Payment 8.2
File
src/Plugin/Payment/Status/PaymentStatusOperationsProvider.php
View source
<?php
namespace Drupal\payment\Plugin\Payment\Status;
use Drupal\Core\Url;
use Drupal\plugin\PluginType\DefaultPluginTypeOperationsProvider;
class PaymentStatusOperationsProvider extends DefaultPluginTypeOperationsProvider {
public function getOperations($plugin_type_id) {
$operations = parent::getOperations($plugin_type_id);
$operations['list']['url'] = new Url('entity.payment_status.collection');
return $operations;
}
}