Commit 3f856768 authored by moshe weitzman's avatar moshe weitzman

Reformat and enhance README. Add link to https://api.drupal.org/api/devel.

parent 61ad9441
README.txt
Devel
==========
Devel module contains helper functions and pages for Drupal developers and inquisitive admins:
A module containing helper functions for Drupal developers and inquisitive admins.
This module can print a log of all database queries for each page request at
the bottom of each page. The summary includes how many times each query was
executed on a page, and how long each query took.
It also offers
- a block for running custom PHP on a page
- a block for quickly accessing devel pages
- a block for masquerading as other users (useful for testing)
- reports memory usage at bottom of page
- A block for running custom PHP on a page
- A block for quickly accessing devel pages
- A block for masquerading as other users (useful for testing)
- A mail-system class which redirects outbound email to files
- Drush commands such as fn-hook, fn-event, ...
- Docs at https://api.drupal.org/api/devel
- more
This module is safe to use on a production site. Just be sure to only grant
'access development information' permission to developers.
This module is safe to use on a production site. Just be sure to only grant
'access development information' permission to developers.
Enabling the Devel Kint module gives you a dpr() function, which pretty prints variables.
Devel Kint
===================
Provides a dpr() function, which pretty prints variables.
Useful during development. Also see similar helpers like dpm(), dvm().
AJAX developers in particular ought to install FirePHP Core from
http://www.firephp.org/ and put it in the devel directory. You may
use the devel-download Drush command to download the library. If downloading by hand,
your path to fb.php should look like libraries/FirePHPCore/lib/FirePHPCore/fb.php.
You can use svn checkout http://firephp.googlecode.com/svn/trunk/trunk/Libraries/FirePHPCore.
Then you can log php variables to the Firebug console. Is quite useful.
Included in this package is also:
- devel_node_access module which prints out the node_access records for a given node. Also offers hook_node_access_explain for all node access modules to implement. Handy.
- devel_generate.module which bulk creates nodes, users, comment, terms for development.
Devel Generate
=================
Bulk creates nodes, users, comment, terms for development. Has Drush integration.
Some nifty Drush integration ships with devel and devel_generate. See `drush help` for details.
Devel Node Access
=================
Prints the node_access records for a given node. Also offers hook_node_access_explain for all node access modules to implement.
DEVEL GENERATE EXTENSIONS
Devel Generate Extensions
=========================
Devel Images Provider [http://drupal.org/project/devel_image_provider] allows to configure external providers for images.
DRUSH UNIT TEST
Drush Unit Testing
==================
See develDrushTest.php for an example of unit testing of the Drush integration.
This uses Drush's own test framework, based on PHPUnit. To run the tests, use
run-tests-drush.sh. You may pass in any arguments that are valid for `phpunit`.
AUTHOR/MAINTAINER
Author/Maintainers
======================
- Moshe Weitzman <weitzman at tejasa DOT com> http://www.acquia.com
- Hans Salvisberg <drupal at salvisberg DOT com>
- Pedro Cambra <https://drupal.org/user/122101/contact> http://www.ymbra.com/
- Pedro Cambra https://drupal.org/user/122101/contact http://www.ymbra.com/
- Juan Pablo Novillo https://www.drupal.org/u/juampynr
- lussoluca https://www.drupal.org/u/lussoluca
- willzyx https://www.drupal.org/u/willzyx
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment