public function MockDrupalGatherContentClient::projectStatusGet in GatherContent 8.4
Same name and namespace in other branches
- 8.5 tests/modules/gathercontent_test/src/MockDrupalGatherContentClient.php \Drupal\gathercontent_test\MockDrupalGatherContentClient::projectStatusGet()
Mock status fetch.
File
- tests/
modules/ gathercontent_test/ src/ MockDrupalGatherContentClient.php, line 45
Class
- MockDrupalGatherContentClient
- Class to mock GC client.
Namespace
Drupal\gathercontent_testCode
public function projectStatusGet($projectId, $statusId) {
$statuses = MockData::getStatuses();
return $statuses[$statusId];
}