function new_relic_rpm_deploy in New Relic 7
Form callback for manually creating a deployment.
_state
Parameters
$form:
Return value
array
1 string reference to 'new_relic_rpm_deploy'
- new_relic_rpm_menu in ./
new_relic_rpm.module - Implements hook_menu().
File
- ./
new_relic_rpm.settings.inc, line 217 - New Relic Drupal setting form and callbacks.
Code
function new_relic_rpm_deploy($form, &$form_state) {
$form['deploy_user'] = array(
'#type' => 'textfield',
'#title' => t('Deployer/Deployment Name'),
'#required' => TRUE,
'#description' => t('Enter the name for this deployment of your application. This will be the name shown in your list of deployments on the New Relic website.'),
);
$form['deploy_description'] = array(
'#type' => 'textarea',
'#title' => t('Deployment Description'),
'#description' => t('Provide some notes and description regarding this deployment.'),
);
$form['deploy_changelog'] = array(
'#type' => 'textarea',
'#title' => t('Deployment Changelog'),
'#description' => t('Provide a specific changelog for this deployment.'),
);
$form['deploy_revision'] = array(
'#type' => 'textfield',
'#title' => t('Deployment Revision'),
'#description' => t('Add a revision number to this deployment.'),
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Create Deployment'),
);
return $form;
}