SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Mar 2010
    Location
    UK
    Posts
    281
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Drupal: What is dpm?

    During research into one of Drupal's many mysteries, I saw an instruction to use dpm(). It was written exactly so, but the contributor had not explained what it is and I cannot find any reference to it. Does anyone know what it does and how one uses it?

  2. #2
    SitePoint Member
    Join Date
    Apr 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In short, dpm() is a function in the Devel module, which is short for "drupal print message" that outputs variables for development debugging.

    The detailed description is available at http://api.drupal.org/api/devel/deve...e/function/dpm

    Hopefully that's what you were looking for - please, let us know if it isn't so.

  3. #3
    SitePoint Addict
    Join Date
    Mar 2010
    Location
    UK
    Posts
    281
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, right. I tried that Devel tool once, but did not get on with it at all.

    Thanks for replying.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •