Uses var_dump() to print a variable to the ‘message’ area of the page using drupal_set_message(). If, for some reason, you are not using Krumo, you can use the $name parameter to distinguish between different calls to dpm(). Because the Devel module now comes with Krumo, the output is compact and unobtrusive. ![]() You can use this function to keep track of one or more variables when you’re working on the code running your site. Prints a variable to the ‘message’ area of the page using drupal_set_message(). ![]() Go to Administer → Build → Modules and enable the Devel module. ![]() Download and install the latest version of the Devel module from.See the Drupal handbook for more information. These modules are not covered in this guide. (Note that this module doesn’t work if Drupal for Firebug is enabled.) Theme developer: Displays theme API information for theme developers.Devel generate: Generates dummy users, nodes, and taxonomy terms.In addition to the core module, the Devel package contains some other useful modules: Post corrections or additions in the issue queue. This guide has a companion module available at. ![]() It covers the Devel contrib module, the Drupal for Firebug contrib module and Firefox extension, the FirePHP library, and the combination of NetBeans and Xdebug. This page gives a brief overview of some of the tools you can use to make Drupal development and debugging easier.
0 Comments
Leave a Reply. |