You are here

function _dcr_form in Elysia Cron 6.2

Same name and namespace in other branches
  1. 6 elysia_drupalconv.php \_dcr_form()
  2. 7 elysia_drupalconv.php \_dcr_form()
2 calls to _dcr_form()
drupal_render_children in ./elysia_drupalconv.php
elysia_cron_settings_form in ./elysia_cron.admin.inc

File

./elysia_drupalconv.php, line 44

Code

function _dcr_form(&$form) {
  foreach ($form as $k => &$v) {
    if ((is_numeric($k) || $k[0] != '#') && is_string($v)) {
      $v = array(
        '#type' => 'markup',
        '#value' => $v,
        '#weight' => -1,
      );
    }
  }
  _dcf_convert_render_array($form);
  return $form;
}