public function PaymentTypeOperationsProvider::getOperations in Payment 8.2
Gets plugin operations.
Parameters
string $plugin_type_id: The ID of the plugin type the operations are for.
Return value
array[] An array with the same structure as \Drupal\Core\Entity\EntityListBuilderInterface::getOperations()' return value.
Overrides DefaultPluginTypeOperationsProvider::getOperations
File
- src/
Plugin/ Payment/ Type/ PaymentTypeOperationsProvider.php, line 16
Class
- PaymentTypeOperationsProvider
- Provides operations for the payment type plugin type.
Namespace
Drupal\payment\Plugin\Payment\TypeCode
public function getOperations($plugin_type_id) {
$operations = parent::getOperations($plugin_type_id);
$operations['list']['url'] = new Url('payment.payment_type.collection');
return $operations;
}