You are here

public function MockDrupalGatherContentClient::projectStatusGet in GatherContent 8.4

Same name and namespace in other branches
  1. 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_test

Code

public function projectStatusGet($projectId, $statusId) {
  $statuses = MockData::getStatuses();
  return $statuses[$statusId];
}