You are here

public function LingotekFake::setProjectCallBackUrl in Lingotek Translation 3.6.x

Same name and namespace in other branches
  1. 8 tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::setProjectCallBackUrl()
  2. 8.2 tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::setProjectCallBackUrl()
  3. 4.0.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::setProjectCallBackUrl()
  4. 3.0.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::setProjectCallBackUrl()
  5. 3.1.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::setProjectCallBackUrl()
  6. 3.2.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::setProjectCallBackUrl()
  7. 3.3.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::setProjectCallBackUrl()
  8. 3.4.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::setProjectCallBackUrl()
  9. 3.5.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::setProjectCallBackUrl()
  10. 3.7.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::setProjectCallBackUrl()
  11. 3.8.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::setProjectCallBackUrl()

Sets the project callback url.

Parameters

string $project_id: The project id.

string $callback_url: The callback url.

Return value

bool TRUE if successful, FALSE if not.

Overrides LingotekInterface::setProjectCallBackUrl

File

tests/modules/lingotek_test/src/LingotekFake.php, line 120

Class

LingotekFake

Namespace

Drupal\lingotek_test

Code

public function setProjectCallBackUrl($project_id, $callback_url) {

  // We ignore the call and simulate a success.
  return TRUE;
}