public function DeployRemoteCcAuthenticatorSession::configForm in Deploy - Content Staging 7.3
Defines the configuration form for the authenticator.
Parameters
array $form_state: The complete form state.
Return value
array An array representing the configuation form.
Overrides DeployAuthenticator::configForm
File
- modules/
deploy_remote_cc/ plugins/ DeployRemoteCcAuthenticatorSession.inc, line 50
Class
- DeployRemoteCcAuthenticatorSession
- Authenticator for Cache clear service.
Code
public function configForm(&$form_state) {
return array(
'username' => array(
'#type' => 'textfield',
'#title' => t('Username'),
'#description' => t('Enter the username that you want to authenticate with on this endpoint.'),
'#default_value' => $this->config['username'],
),
'password' => array(
'#type' => 'password',
'#title' => t('Password'),
'#description' => t('Enter the password that you want to authenticate with on this endpoint.'),
'#default_value' => $this->config['password'],
),
);
}