public function LingotekFake::getVaults in Lingotek Translation 3.3.x
Same name and namespace in other branches
- 8 tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getVaults()
- 8.2 tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getVaults()
- 4.0.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getVaults()
- 3.0.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getVaults()
- 3.1.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getVaults()
- 3.2.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getVaults()
- 3.4.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getVaults()
- 3.5.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getVaults()
- 3.6.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getVaults()
- 3.7.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getVaults()
- 3.8.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getVaults()
Gets the account related vaults.
Parameters
bool $force: Flag indicating if it must be forced to request from the API. If false, will use local cached data.
Return value
array|bool Array with vaults information. FALSE in case of error. The keys are the ids, and values are the name of the resource.
Overrides LingotekInterface::getVaults
1 call to LingotekFake::getVaults()
- LingotekFake::getResources in tests/
modules/ lingotek_test/ src/ LingotekFake.php - Gets the account related resources.
File
- tests/
modules/ lingotek_test/ src/ LingotekFake.php, line 62
Class
Namespace
Drupal\lingotek_testCode
public function getVaults($force = FALSE) {
$vaults = [
'test_vault' => 'Test vault',
'test_vault2' => 'Test vault 2',
];
return $vaults;
}