Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 886387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:03:32+00:00 2026-05-15T13:03:32+00:00

is the output of the dprint_r() function (introduced by devel module) visible only if

  • 0

is the output of the dprint_r() function (introduced by devel module) visible only if I’m logged in drupal system (as administrator user) ?

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T13:03:33+00:00Added an answer on May 15, 2026 at 1:03 pm

    Looking at the function definition, you will find:

    /**
     * Pretty-print a variable to the browser (no krumo).
     * Displays only for users with proper permissions. If
     * you want a string returned instead of a print, use the 2nd param.
     */
    function dprint_r($input, $return = FALSE, $name = NULL, $function = 'print_r', $check= TRUE) {
      if (user_access('access devel information')) {
        // Snipped main function code ...
      }
    }
    

    So it will only produce output for users with the access devel information permission. If you assigned this permission to no role, only user 1 will get to see the output.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The output of the fist System.out.println() is not same as the second System.out.println() What
Getting output with Java is pretty easy as you can make use of System.out.print
The output from the following code is incorrect. It should only output the leaves
The output from println from within a class function is lost. An example script
output of passenger-memory-stats ----- Passenger processes ----- PID VMSize Private Name ------------------------------- 28572 207.4
Output in Log: ibtoold(1642,0x7fff78b64960) malloc: error for object 0x7fbf38056a08: incorrect checksum for freed object
ifconfig -output is somewhat messy thing to look at. When I saw the nice
The output of /proc/net/dev on Linux looks like this: Inter-| Receive | Transmit face
The output of eg >>w = whos; returns an array of structs. I would
The output of this echo is not passed on to the next command using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.