Using 'dpm' with Krumo & Devel module

With the Devel module installed you can easily get the associated properties of elements.

Getting the values of a node

<?php dpm($node); ?>

Getting values of a user

<?php
  global $user;
  dpm($user);
?>
Justin Chevallier

Justin Chevallier

Avid Drupal site builder & user for +9 years.

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.