array( // 'title' => t('add showroom localisation'), // 'description' => t('add showroom localisation'), // ), // ); // // return $perms; // } /** * Implements hook_form_alter(). */ function materio_translator_form_alter(&$form, &$form_state, $form_id) { // dsm($form_id); if( $form_id == "materiau_node_form" ){ dsm($form); // $form['account']['pass']['#type'] = 'password'; // $form['account']['pass']['#title'] = t('Password'); // // $form['actions']['#type'] = "container"; // $form['actions']['submit']['#value'] = t('Join'); } }