You are here

protected function ServicesClientBaseWebTestCase::loadEvent in Services Client 7.2

Load existing event from storage.

Parameters

string $name: Name of event.

Return value

ServicesClientEvent Event instance.

3 calls to ServicesClientBaseWebTestCase::loadEvent()
ServicesClientBaseWebTestCase::createSCEvent in tests/services_client.test
Create new services client event.
ServicesClientBaseWebTestCase::saveEventConfiguration in tests/services_client.test
Save event configuration. Saves any configuration changes to permanent storage.
ServicesClientWebTestCase::testAddingEvent in tests/services_client.test
Test basic event configuration actions.

File

tests/services_client.test, line 98
Tests for the Administration menu module.

Class

ServicesClientBaseWebTestCase
@file Tests for the Administration menu module.

Code

protected function loadEvent($name, $reset = FALSE) {
  if ($reset) {
    $this
      ->resetEventCache();
  }
  return ctools_export_crud_load('services_client_connection_event', $name);
}