You are here

function oauthconnector_provider_new in OAuth Connector 7

Same name and namespace in other branches
  1. 6 oauthconnector.module \oauthconnector_provider_new()

Create a new provider with defaults appropriately set from schema.

Return value

stdClass A provider configuration initialized with the default values.

1 call to oauthconnector_provider_new()
oauthconnector_add_provider in ./oauthconnector.admin.inc
Handle the add provider page.

File

./oauthconnector.module, line 415
OAuth Connector module

Code

function oauthconnector_provider_new() {
  ctools_include('export');
  return ctools_export_new_object('oauthconnector_provider');
}