service commerce_square.connect in Commerce Square Connect 8
Class
Drupal\commerce_square\Connect6 string references to commerce_square.connect
- commerce_square_cron in ./
commerce_square.module - Implements hook_cron().
- commerce_square_post_update_oauth_token_migration in ./
commerce_square.post_update.php - Migrate legacy Square Connect OAuth access token.
- commerce_square_requirements in ./
commerce_square.install - Implements hook_requirements().
- ConnectTest::testConnectService in tests/
src/ Kernel/ ConnectTest.php - Tests the methods.
- Square::create in src/
Plugin/ Commerce/ PaymentGateway/ Square.php - Creates an instance of the plugin.
File
View source
- class: Drupal\commerce_square\Connect
- arguments:
- - '@config.factory'
- - '@state'