function ClientsConnectionDrupalRESTTestEntityCreate::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_rest/ clients_drupal_rest.testing.inc, line 172 - Contains classes for Client connection testing.
Class
- ClientsConnectionDrupalRESTTestEntityCreate
- Test entity creation on a Drupal Services connection.
Code
function testLabels() {
return array(
'label' => t('Create an entity'),
'description' => t('Create an entity on the remote site from an array of data.'),
'button' => t('Create'),
);
}