with last commit: contrib field_collection mod & custom showroom et translator mods
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
|
||||
/**
|
||||
* Implements hook_init().
|
||||
*/
|
||||
// function materio_translator_init() {
|
||||
// drupal_add_js(drupal_get_path('module', 'materio_translator').'/js/materio_translator.js');
|
||||
// }
|
||||
|
||||
|
||||
/**
|
||||
* Implements hook_permission().
|
||||
*/
|
||||
// function materio_translator_permission() {
|
||||
// $perms = array(
|
||||
// 'add showroom localisation' => 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');
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user