You are here

public function SubscriptionAccessTest::getCancelOperations in Commerce Recurring Framework 8

Provides the list of operations for canceling a subscription.

File

tests/src/Kernel/SubscriptionAccessTest.php, line 103

Class

SubscriptionAccessTest
Tests the commerce_subscription access control.

Namespace

Drupal\Tests\commerce_recurring\Kernel

Code

public function getCancelOperations() {
  return [
    [
      'cancel',
    ],
    [
      'update',
    ],
  ];
}