function crumbs_Admin_ElementObject_WeightsTextual::process in Crumbs, the Breadcrumbs suite 7.2
Callback for $element['#process'] Create a big textarea.
Parameters
array $element:
array $form_state:
Return value
array
Overrides crumbs_Admin_ElementObject_Abstract::process
File
- lib/Admin/ ElementObject/ WeightsTextual.php, line 55 
Class
Code
function process($element, $form_state) {
  $text = $this
    ->getDefaultText($element);
  $element['text'] = array(
    '#tree' => TRUE,
    '#type' => 'textarea',
    '#rows' => 24,
    '#default_value' => $text,
    '#attributes' => array(
      'style' => 'font-family: monospace;',
    ),
  );
  return $element;
}