Im, bu kodu T_String hata alıyorum onun 2 çizgi ($ form ['com ...) daha accuratly söyleyerek ve ben sadece cant neden bakın.
function _maxlength_comment_type_form_alter(&$form, $form_state, $form_id) {
$form['comment']['comment_max_length'] = array(
'#type' => 'select',
'#title' => t('Maximum comment length'),
'#default_value' => variable_get('comment_max_length_'. $form['#node_type'] -> type, 160),
'#options'=> drupal_map_assoc(array(140,160,180,200)),
'#description' => t('numero maximo de caracteres permitidos.'),
'#weight' => -1,
);
Drupal modülü maxLength için bu kodu ekleyerek Im.