public function DeployServiceRest::configForm in Deploy - Content Staging 7.2
Same name and namespace in other branches
- 7.3 includes/DeployServiceRest.inc \DeployServiceRest::configForm()
Configuration form.
Parameters
array $form_state: The complete form state.
Overrides DeployService::configForm
File
- includes/
DeployServiceRest.inc, line 86 - Implementation of a REST based client for deploying entities.
Class
- DeployServiceRest
- Base class for REST-based service plugins.
Code
public function configForm(&$form_state) {
return array(
'url' => array(
'#type' => 'textfield',
'#title' => t('Endpoint URL'),
'#description' => t('Enter endpoint URL. Example: %url', array(
'%url' => 'http://example.com/services/rest',
)),
'#default_value' => $this->config['url'],
),
);
}