📜  自定义表单drupal 7中的textarea - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:06.830000             🧑  作者: Mango

代码示例1
$form['life_story'] = array(
  '#title' => t('Your Life Story'),
  '#type' => 'textarea',
  '#description' => 'Tell me all about your life',
  '#default_value' => 'First I was born, and then ...',
  '#rows' => 10,
  '#cols' => 60,
  '#resizable' => TRUE,
);