public function PaymentMethodConfigurationAccessControlHandlerTest::providerTestCheckAccessEnable in Payment 8.2
Provides data to self::testCheckAccessEnable().
File
- tests/
src/ Unit/ Entity/ PaymentMethodConfiguration/ PaymentMethodConfigurationAccessControlHandlerTest.php, line 205
Class
- PaymentMethodConfigurationAccessControlHandlerTest
- @coversDefaultClass \Drupal\payment\Entity\PaymentMethodConfiguration\PaymentMethodConfigurationAccessControlHandler
Namespace
Drupal\Tests\payment\Unit\Entity\PaymentMethodConfigurationCode
public function providerTestCheckAccessEnable() {
return [
// Enabled with permission.
[
FALSE,
TRUE,
TRUE,
],
// Disabled with permission.
[
TRUE,
FALSE,
TRUE,
],
// Disabled without permission.
[
FALSE,
FALSE,
FALSE,
],
];
}