SproutCMS

This is the code documentation for the SproutCMS project

source of /modules/HarborAndSprout/sprout_load.php

  1. <?php
  2. use Sprout\Helpers\Register;
  3.  
  4. Register::addDbtoolsApi([
  5. 'title' => 'Shopify API',
  6. 'desc' => 'Test various endpoints',
  7. 'class' => 'SproutModules\\Karmabunny\\HarborAndSprout\\Controllers\\HarborController',
  8. 'method' => 'shopifyApiForm',
  9. ]);
  10.  
  11. Register::addDbtoolsApi([
  12. 'title' => 'Google Drive API',
  13. 'desc' => 'Test various endpoints',
  14. 'class' => 'SproutModules\\Karmabunny\\HarborAndSprout\\Controllers\\HarborController',
  15. 'method' => 'driveApiForm',
  16. ]);
  17.