commerce_square.routing.yml in Commerce Square Connect 8
12 string references to YAML keys in commerce_square.routing.yml
- commerce_square_requirements in ./
commerce_square.install - Implements hook_requirements().
- commerce_square_update_8001 in ./
commerce_square.install - Migrates gateway settings into new configuration object.
- commerce_square_update_8002 in ./
commerce_square.install - Use site state for production access token and expiration time.
- ConfigureGatewayTest::testCreateSquareGateway in tests/
src/ FunctionalJavascript/ ConfigureGatewayTest.php - Tests that a Square gateway can be configured.
- Connect::__construct in src/
Connect.php - Constructs a new Connect object.
File
commerce_square.routing.ymlView source
- commerce_square.oauth.obtain:
- path: '/admin/commerce_square/oauth/obtain'
- defaults:
- _controller: '\Drupal\commerce_square\Controller\OauthToken::obtain'
- _title: 'Obtain Merchant Token'
- requirements:
- _custom_access: '\Drupal\commerce_square\Controller\OauthToken::obtainAccess'
- commerce_square.settings:
- path: '/admin/commerce/config/square'
- defaults:
- _form: '\Drupal\commerce_square\Form\SquareSettings'
- _title: 'Square settings'
- requirements:
- _permission: 'administer commerce square'