You are here

function pmpapi_test_api in Public Media Platform API Integration 7

Page callback: Test page PMP API connection/settings.

Callback for admin/config/system/pmpapi_test.

Return value

array An item list of various test API call stats.

See also

pmpapi_menu()

1 string reference to 'pmpapi_test_api'
pmpapi_menu in ./pmpapi.module
Implements hook_menu().

File

./pmpapi.pages.inc, line 18
Page display functions for the PMP API module.

Code

function pmpapi_test_api() {
  $pmp = new PMPAPIDrupal();
  return $pmp
    ->report();
}