system_actions_manage_form

Versions
mediamosa-21
system_actions_manage_form($form, &$form_state, $options = array())

Define the form for the actions overview page.

See also

system_actions_manage_form_submit()

Parameters

$form_state An associative array containing the current state of the form; not used.

$options An array of configurable actions.

Return value

Form definition.

Related topics

Code

modules/system/system.admin.inc, line 2895

<?php
function system_actions_manage_form($form, &$form_state, $options = array()) {
  $form['parent'] = array(
    '#type' => 'fieldset',
    '#title' => t('Create an advanced action'),
    '#attributes' => array('class' => array('container-inline')),
  );
  $form['parent']['action'] = array(
    '#type' => 'select',
    '#default_value' => '',
    '#options' => $options,
    '#description' => '',
  );
  $form['parent']['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions')));
  $form['parent']['actions']['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Create'),
  );
  return $form;
}
?>