You are here

private function GatherContentCurl::authError in GatherContent 7.2

Return GatherContent API authentication error.

1 call to GatherContentCurl::authError()
GatherContentCurl::get in includes/curl.inc
Call GatherContent API function.

File

includes/curl.inc, line 788
Contains functions used to process and retrieve data from GatherContent.

Class

GatherContentCurl
@file Contains functions used to process and retrieve data from GatherContent.

Code

private function authError() {
  $this->apiErrorShown = TRUE;
  return sprintf(t('There was a problem contacting the API. Please check your API credentials. %sAuth Settings%s'), '<a href="' . url('admin/config/content/gathercontent/login') . '">', '</a>');
}