public function LingotekFake::getProject in Lingotek Translation 3.7.x
Same name and namespace in other branches
- 8 tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getProject()
- 8.2 tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getProject()
- 4.0.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getProject()
- 3.0.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getProject()
- 3.1.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getProject()
- 3.2.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getProject()
- 3.3.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getProject()
- 3.4.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getProject()
- 3.5.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getProject()
- 3.6.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getProject()
- 3.8.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getProject()
Gets the project with the given ID.
Parameters
string $project_id: The project ID.
Return value
array|bool Array with project information.
Overrides LingotekInterface::getProject
File
- tests/
modules/ lingotek_test/ src/ LingotekFake.php, line 109
Class
Namespace
Drupal\lingotek_testCode
public function getProject($project_id) {
return [
'properties' => [
'creation_date' => 1284940800000,
'workflow_id' => 'test_workflow',
'callback_url' => '',
'title' => 'Test project',
'community_id' => 'test_community',
'id' => 'test_project',
],
];
}