Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 350 Bytes
<?php
include_once('nossasp_mantainer.features.inc');
function nossasp_mantainer_form_alter(&$form, &$form_state, $form_id) {
if ($form_id == 'user_register') {
$form['#pre_render'][] = 'nossasp_mantainer_alter_weights';
}
}
function nossasp_mantainer_alter_weights(&$elements) {
$elements['title']['#weight'] = 0;
return $elements;
}