function ClientsConnectionDrupalTestConnect::testLabels in Web Service Clients 7.3
The labels for the test.
(This is because it would seem you can't define class variables using expressions.)
Overrides ClientsConnectionTestingInterface::testLabels
File
- connections/
clients_drupal/ clients_drupal.testing.inc, line 18 - Contains classes for Client connection testing.
Class
- ClientsConnectionDrupalTestConnect
- Test basic connection to a Drupal Services connection.
Code
function testLabels() {
return array(
'label' => t('Test connection'),
'description' => t('Test the basic connection to the site by calling system.connect.'),
'button' => t('Connect'),
);
}