CMS, Coding

drupal_set_message

To test the txt location of your block or code use this code :   drupal_set_message(‘test’);

After you have seen your code location you can then delete.

Syntax

function demo_form_alter(&$form, &$form_state, $form_id) {
dpm($form);
  drupal_set_message(‘test’);

}

Remember the code:
drupal_set_message(‘test’);

 

dpm($form);    allocate the devel of your coding

Add your comments

Loading Facebook Comments ...
Loading Disqus Comments ...