Commit 2e697bcd authored by jhodgdon's avatar jhodgdon Committed by eojthebrave

Issue #2843440 by jhodgdon, eojthebrave: Discuss Composer and tell how to use...

Issue #2843440 by jhodgdon, eojthebrave: Discuss Composer and tell how to use it to install some contrib modules
parent a5003f4b
......@@ -35,6 +35,7 @@ website.
* <<understanding-modules>>
* <<extend-module-find>>
* <<install-tools>>
==== Site prerequisites
......@@ -49,8 +50,11 @@ modules.
You can use the administrative interface or Drush to install a contributed
module. If you are installing a custom module rather than a contributed module,
or if the steps below do not work to download and unpack the module files,
follow the steps in <<extend-manual-install>>, and then continue here with step
7 in the instructions for the administrative interface below.
follow the steps in <<extend-manual-install>>. If you are installing a
contributed module with external dependencies that are managed by Composer,
follow the steps for downloading in <<install-composer>>. In either of these
cases, then continue here with step 7 in the instructions for the administrative
interface below.
===== Using the administrative interface
......
......@@ -29,7 +29,8 @@ Download and install a theme from _Drupal.org_.
==== Prerequisite knowledge
<<extend-theme-find>>
* <<extend-theme-find>>
* <<install-tools>>
==== Site prerequisites
......@@ -43,8 +44,11 @@ If you want to use Drush, Drush must be installed. See <<install-tools>>.
You can use the administrative interface or Drush to install a contributed
theme. If you are installing a custom theme rather than a contributed theme,
or if the steps below do not work to download and unpack the theme files,
follow the steps in <<extend-manual-install>>, and then continue here with
the administrative interface in step 7.
follow the steps in <<extend-manual-install>>. If you are installing a
contributed theme with external dependencies that are managed by Composer,
follow the steps for downloading in <<install-composer>>. In either of these
cases, then continue here with step 7 in the instructions for the administrative
interface below.
===== Using the administrative interface
......
......@@ -185,6 +185,7 @@ include::extend-theme-install.txt[]
include::extend-manual-install.txt[]
include::install-dev-sites.txt[]
include::install-dev-making.txt[]
include::install-composer.txt[]
include::extend-deploy.txt[]
include::extend-config-versions.txt[]
......
[[install-composer]]
=== Using Composer and Git to Download Files
[role="summary"]
How to use the Composer and Git tools to manage the files in the core software
and add-on modules and themes.
(((Composer tool,using to download the core software)))
(((Composer tool,using to download modules)))
(((Composer tool,using to download themes)))
(((Downloading,core software)))
(((Downloading,theme)))
(((Downloading,module)))
(((Software dependencies,managing)))
(((Module,downloading)))
(((Theme,downloading)))
(((Contributed theme,downloading)))
(((Contributed module,downloading)))
==== Goal
Use Composer and/or Git to download files and dependencies in the core software,
or in add-on modules and themes.
==== Prerequisite knowledge
* <<install-tools>>
* <<install-dev-sites>>
==== Site prerequisites
If you want to use Git or Composer, they must be installed either on a local
development server or your live site. See <<install-tools>>.
==== Steps
If you are unable to install the Git or Composer tools on your live server,
after following the steps in any of the sections below on your local server, you
will need to transfer any updated or added files to your live server. The
recommended procedure is to make an archive or zip file of the new and changed
files, transfer the archive to your live server, and extract it there. If you
are using Composer, make sure to check for updates and additions to the
following files, in the root of your installation:
* _vendor_ directory
* _autoload.php_
* _composer.json_
* _composer.lock_
===== Using Git to download a project
Follow these steps if you want to download the development version of the core
software, or of a contributed module or theme, from the project's Git version
control repository:
. In a command-line window, change to one level above the directory where you
want the files to reside. For the core software, this would be your web
root. For an add-on module, this would be the _modules_ directory, or a
sub-directory like _contrib_ under the modules directory.
. Locate the page for the project that you want to download on _Drupal.org_; for
example, https://www.drupal.org/project/drupal for the core software, or
https://www.drupal.org/project/admin_toolbar for the contributed Admin Toolbar
module.
. Click the _Version control_ link near the top of the page, which opens up a
page giving Git commands for this project.
. Copy the +git clone+ command under _Setting up repository for the first time_,
and paste it into your command line. For example, it might be:
+
----
git clone --branch 8.2.x https://git.drupal.org/project/drupal.git
----
. This will create a directory named with the short name of the project
(_drupal_ in this example), and download the required files into that
directory. If necessary, rename the directory.
. If you downloaded the _drupal_ project (the core software), follow the
instructions below to download its external dependencies.
. Later on, you can change to the created directory and run the command +git
pull+ to update the files to the latest version from the Git repository for the
project.
===== Using Composer to download external core dependencies
Follow these steps if you downloaded the core software files using Git, which
does not include the external dependencies:
. Change to the core software's root directory.
. Run the command +composer install+ at the command line. The external
dependencies will be downloaded.
===== Using Composer to download the core software
Follow these steps if you have not yet downloaded or installed the core
software, and you want to use Composer to download both the core software and
its external dependencies:
. At the command line, change to one level above the directory where you want
the software to reside.
. Enter this command, where +my_site_name+ is the directory you want to create:
+
----
composer create-project drupal/drupal my_site_name
----
===== Using Composer do download a module or theme
Follow these steps if you have already downloaded the core software, and you
want to use Composer to add a contributed module or theme (usually because it
has external dependencies that need to be downloaded with Composer):
. If you have not already done so, tell Composer about the download location for
contributed modules and themes, by entering this command from the root of your
site installation:
+
----
composer config repositories.drupal composer https://packages.drupal.org/8
----
. If you have not already done so, you can optionally override the default
location where Composer will put downloaded modules and themes. For example,
typically you would want contributed modules to go in a _contrib_ subdirectory
of the top-level _modules_ directory, instead of the default location of
_modules_. To make this change, edit the _composer.json_ file at the root level
in your site installation. Find the line that says +"extra": {+, and add these
lines following that line:
+
----
"installer-paths": {
"modules/contrib/{$name}": ["type:drupal-module"],
"modules/custom/{$name}": ["type:drupal-custom-module"],
"profiles/contrib/{$name}": ["type:drupal-profile"],
"themes/contrib/{$name}": ["type:drupal-theme"],
"themes/custom/{$name}": ["type:drupal-custom-theme"],
"libraries/{$name}": ["type:drupal-library"],
"drush/{$name}": ["type:drupal-drush"]
},
----
. Each time you want to add a contributed module or theme, determine the
project's short name. This is the last part of the URL of the project page; for
example, the Geofield module, at
https://www.drupal.org/project/geofield, has short name +geofield+.
. To download the contributed module or theme, along with its external
dependencies, enter the following command at the root of your site (substituting
the short name of the module or theme for +geofield+):
+
----
composer require drupal/geofield
----
===== Using Composer to update a project's files
Follow these steps to update the files for the core software or a contributed
module or theme, after having already started to manage dependencies with
Composer:
. Determine the short name of the project you want to update. For the core
software, it is _drupal_. For contributed modules and themes, it is the last
part of the URL of the project page; for example, the Geofield module, at
https://www.drupal.org/project/geofield, has short name +geofield+.
. Determine how to enter the version number you want to update to. For
example, for version 8.x-1.7 of a contributed module, you would enter just the
1.7, and for the core software version 8.3.1, you would enter 3.1.
. Enter the following command at the root of your site (substituting
the short name of the module or theme for +geofield+ and the correct version
number):
+
----
composer require drupal/geofield:1.7
----
// ==== Expand your understanding
// ==== Related concepts
==== Additional resources
https://www.drupal.org/docs/develop/using-composer/using-composer-with-drupal[_Drupal.org_ community documentation page "Using Composer with Drupal"]
*Attributions*
Adapted by https://www.drupal.org/u/jhodgdon[Jennifer Hodgdon] from
https://www.drupal.org/docs/develop/using-composer/using-composer-with-drupal["Using Composer with Drupal"],
copyright 2000-2017 by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -76,8 +76,9 @@ cd example
drush site-install standard --db-url='mysql://DB_USER:DB_PASS@localhost/DB_NAME' --site- name=example
----
. If you are installing using web installer, upload the core software files
manually. You will need to:
. If you are installing using the web installer, upload the core software files
manually. To do this using Git and/or Composer, see <<install-composer>>; to do
this by downloading a zipped archive:
.. Go to _https://www.drupal.org_ and click _Download & Extend_ on the top-level
menu.
......@@ -108,17 +109,15 @@ image:images/install-prepare-files.png["Download files section of Drupal core do
.. Upload the downloaded file to your hosting account. Log in to the control
panel and navigate to the _HTML_ directory. Save the file there.
.. Uncompress the tar.gz or zip file, which will create a new directory. For
example, if you have terminal access to your hosting server (running Linux), you
.. Uncompress the tar.gz or zip file, which will create a new directory. If you
do not have terminal access, or your hosting server is not running Linux, your
hosting control panel's file manager should provide a way to extract the
files. If you have terminal access to your hosting server (running Linux), you
can use a command like:
+
----
tar -xzf drupal-8.3.2.tar.gz
----
+
If you do not have terminal access, or your hosting server is not running
Linux, your hosting control panel's file manager should provide a way to
extract the files.
.. Delete the compressed file from the server, unless your unpacking method
already deleted it.
......@@ -144,5 +143,6 @@ http://www.drush.org[Drush]
Written and edited by https://www.drupal.org/u/dgorton[Drew Gorton],
https://www.drupal.org/u/michaellenahan[Michael Lenahan] at
https://erdfisch.de[erdfisch],
https://www.drupal.org/u/jhodgdon[Jennifer Hodgdon],
and https://www.drupal.org/u/jojyja[Jojy Alphonso] at
http://redcrackle.com[Red Crackle].
......@@ -8,14 +8,17 @@ Overview of additional tools that help site builders conveniently create sites.
(((Tool,Coder)))
(((Tool,Devel)))
(((Tool,Drush)))
(((Tool,Composer)))
(((Tool,Firebug)))
(((Tool,Git)))
(((Tool,drupal Console)))
(((Coder tool,overview)))
(((Devel tool,overview)))
(((Drush tool,overview)))
(((Composer tool,overview)))
(((Firebug tool,overview)))
(((Git tool,overview)))
(((Drupal Console,overview)))
(((Drupal Console tool,overview)))
// ==== Prerequisite knowledge
......@@ -34,6 +37,8 @@ Git::
track changes in the configuration files and synchronize the configuration of
different sites. Git has become the standard for web development
projects.
Composer::
See below for more about Composer.
Devel::
The https://www.drupal.org/project/devel[contributed Devel module] helps with
development tasks such as debugging and inspecting code, analyzing database
......@@ -69,6 +74,25 @@ http://www.drush.org[Drush website] for installation instructions and version
compatibility. There is also documentation on the available Drush commands on
that site.
==== What is Composer used for?
https://getcomposer.org/[Composer] is a tool for managing PHP dependencies,
where the developer specifies what version of each external library is needed,
and Composer manages the process of downloading and installing the libraries.
The core software is a primary user of Composer, because it makes use of several
externally-developed software libraries, which must be downloaded and installed
in order for the core software to work. When you install the core software, you
either need to download an archive that contains compatible versions of the
external libraries, or you need to run Composer to download the external
libraries after the initial download.
Some contributed modules also make use of externally-developed software
libraries; for example, a Facebook integration module might require Facebook's
integration library to be installed for the module to work, and a geographical
module might make use of a standard library of geographical functions. To
install a module with external dependencies, you will need to run Composer.
==== What tools are available for module and theme developers?
In addition to the site builder tools mentioned above, the following tools are
......@@ -89,11 +113,15 @@ Firebug::
browser window. The https://www.drupal.org/project/drupalforfirebug[contributed Drupal for Firebug module]
displays Drupal debugging and SQL query information in the Firebug window.
// ==== Related topics
==== Related topics
<<install-composer>>
==== Additional resources
https://www.drupal.org/node/147789[_Drupal.org_ community documentation page "Development tools"]
* https://www.drupal.org/node/147789[_Drupal.org_ community documentation page "Development tools"]
* https://www.drupal.org/docs/develop/using-composer/using-composer-with-drupal[_Drupal.org_ community documentation page "Using Composer with Drupal"]
*Attributions*
......
......@@ -42,6 +42,10 @@ might be using.
. Put your site in maintenance mode. See <<extend-maintenance>>.
. If you are using Composer to manage dependencies, or using Git, skip the next
six steps, and instead see <<install-composer>> for instructions on downloading
updated files. Continue with the _update.php_ step.
. Download the tar.gz or zip file archive for the latest version of Drupal
8.x core from https://www.drupal.org/project/drupal[_Drupal.org_ Drupal Core
Downloads]. See <<install-prepare>> for more details on how to find the latest
......@@ -50,17 +54,14 @@ version.
. Upload the archive file to your web hosting server.
. Extract the archive file to a temporary directory on your server (should be
outside the directory where the site is hosted). For example, if you have
outside the directory where the site is hosted). Your hosting control panel's
file manager should provide a way to extract the files. Or, if you have
terminal access to your hosting server (running Linux), you can use a command
like:
+
----
tar -xzf drupal-8.3.2.tar.gz
----
+
If you do not have terminal access, or your hosting server is not running
Linux, your hosting control panel's file manager should provide a way to
extract the files.
. You can also use Drush to download the archive and extract it in one step, by
navigating to the temporary directory on the server and entering this command:
......
......@@ -35,6 +35,7 @@ website.
* <<understanding-modules>>
* <<extend-module-find>>
* <<install-tools>>
==== Site prerequisites
......@@ -49,8 +50,11 @@ modules.
You can use the administrative interface or Drush to install a contributed
module. If you are installing a custom module rather than a contributed module,
or if the steps below do not work to download and unpack the module files,
follow the steps in <<extend-manual-install>>, and then continue here with step
7 in the instructions for the administrative interface below.
follow the steps in <<extend-manual-install>>. If you are installing a
contributed module with external dependencies that are managed by Composer,
follow the steps for downloading in <<install-composer>>. In either of these
cases, then continue here with step 7 in the instructions for the administrative
interface below.
===== Using the administrative interface
......
......@@ -29,7 +29,8 @@ Download and install a theme from _Drupal.org_.
==== Prerequisite knowledge
<<extend-theme-find>>
* <<extend-theme-find>>
* <<install-tools>>
==== Site prerequisites
......@@ -43,8 +44,11 @@ If you want to use Drush, Drush must be installed. See <<install-tools>>.
You can use the administrative interface or Drush to install a contributed
theme. If you are installing a custom theme rather than a contributed theme,
or if the steps below do not work to download and unpack the theme files,
follow the steps in <<extend-manual-install>>, and then continue here with
the administrative interface in step 7.
follow the steps in <<extend-manual-install>>. If you are installing a
contributed theme with external dependencies that are managed by Composer,
follow the steps for downloading in <<install-composer>>. In either of these
cases, then continue here with step 7 in the instructions for the administrative
interface below.
===== Using the administrative interface
......
......@@ -185,6 +185,7 @@ include::extend-theme-install.txt[]
include::extend-manual-install.txt[]
include::install-dev-sites.txt[]
include::install-dev-making.txt[]
include::install-composer.txt[]
include::extend-deploy.txt[]
include::extend-config-versions.txt[]
......
[[install-composer]]
=== Using Composer and Git to Download Files
[role="summary"]
How to use the Composer and Git tools to manage the files in the core software
and add-on modules and themes.
(((Composer tool,using to download the core software)))
(((Composer tool,using to download modules)))
(((Composer tool,using to download themes)))
(((Downloading,core software)))
(((Downloading,theme)))
(((Downloading,module)))
(((Software dependencies,managing)))
(((Module,downloading)))
(((Theme,downloading)))
(((Contributed theme,downloading)))
(((Contributed module,downloading)))
==== Goal
Use Composer and/or Git to download files and dependencies in the core software,
or in add-on modules and themes.
==== Prerequisite knowledge
* <<install-tools>>
* <<install-dev-sites>>
==== Site prerequisites
If you want to use Git or Composer, they must be installed either on a local
development server or your live site. See <<install-tools>>.
==== Steps
If you are unable to install the Git or Composer tools on your live server,
after following the steps in any of the sections below on your local server, you
will need to transfer any updated or added files to your live server. The
recommended procedure is to make an archive or zip file of the new and changed
files, transfer the archive to your live server, and extract it there. If you
are using Composer, make sure to check for updates and additions to the
following files, in the root of your installation:
* _vendor_ directory
* _autoload.php_
* _composer.json_
* _composer.lock_
===== Using Git to download a project
Follow these steps if you want to download the development version of the core
software, or of a contributed module or theme, from the project's Git version
control repository:
. In a command-line window, change to one level above the directory where you
want the files to reside. For the core software, this would be your web
root. For an add-on module, this would be the _modules_ directory, or a
sub-directory like _contrib_ under the modules directory.
. Locate the page for the project that you want to download on _Drupal.org_; for
example, https://www.drupal.org/project/drupal for the core software, or
https://www.drupal.org/project/admin_toolbar for the contributed Admin Toolbar
module.
. Click the _Version control_ link near the top of the page, which opens up a
page giving Git commands for this project.
. Copy the +git clone+ command under _Setting up repository for the first time_,
and paste it into your command line. For example, it might be:
+
----
git clone --branch 8.2.x https://git.drupal.org/project/drupal.git
----
. This will create a directory named with the short name of the project
(_drupal_ in this example), and download the required files into that
directory. If necessary, rename the directory.
. If you downloaded the _drupal_ project (the core software), follow the
instructions below to download its external dependencies.
. Later on, you can change to the created directory and run the command +git
pull+ to update the files to the latest version from the Git repository for the
project.
===== Using Composer to download external core dependencies
Follow these steps if you downloaded the core software files using Git, which
does not include the external dependencies:
. Change to the core software's root directory.
. Run the command +composer install+ at the command line. The external
dependencies will be downloaded.
===== Using Composer to download the core software
Follow these steps if you have not yet downloaded or installed the core
software, and you want to use Composer to download both the core software and
its external dependencies:
. At the command line, change to one level above the directory where you want
the software to reside.
. Enter this command, where +my_site_name+ is the directory you want to create:
+
----
composer create-project drupal/drupal my_site_name
----
===== Using Composer do download a module or theme
Follow these steps if you have already downloaded the core software, and you
want to use Composer to add a contributed module or theme (usually because it
has external dependencies that need to be downloaded with Composer):
. If you have not already done so, tell Composer about the download location for
contributed modules and themes, by entering this command from the root of your
site installation:
+
----
composer config repositories.drupal composer https://packages.drupal.org/8
----
. If you have not already done so, you can optionally override the default
location where Composer will put downloaded modules and themes. For example,
typically you would want contributed modules to go in a _contrib_ subdirectory
of the top-level _modules_ directory, instead of the default location of
_modules_. To make this change, edit the _composer.json_ file at the root level
in your site installation. Find the line that says +"extra": {+, and add these
lines following that line:
+
----
"installer-paths": {
"modules/contrib/{$name}": ["type:drupal-module"],
"modules/custom/{$name}": ["type:drupal-custom-module"],
"profiles/contrib/{$name}": ["type:drupal-profile"],
"themes/contrib/{$name}": ["type:drupal-theme"],
"themes/custom/{$name}": ["type:drupal-custom-theme"],
"libraries/{$name}": ["type:drupal-library"],
"drush/{$name}": ["type:drupal-drush"]
},
----
. Each time you want to add a contributed module or theme, determine the
project's short name. This is the last part of the URL of the project page; for
example, the Geofield module, at
https://www.drupal.org/project/geofield, has short name +geofield+.
. To download the contributed module or theme, along with its external
dependencies, enter the following command at the root of your site (substituting
the short name of the module or theme for +geofield+):
+
----
composer require drupal/geofield
----
===== Using Composer to update a project's files
Follow these steps to update the files for the core software or a contributed
module or theme, after having already started to manage dependencies with
Composer:
. Determine the short name of the project you want to update. For the core
software, it is _drupal_. For contributed modules and themes, it is the last
part of the URL of the project page; for example, the Geofield module, at
https://www.drupal.org/project/geofield, has short name +geofield+.
. Determine how to enter the version number you want to update to. For
example, for version 8.x-1.7 of a contributed module, you would enter just the
1.7, and for the core software version 8.3.1, you would enter 3.1.
. Enter the following command at the root of your site (substituting
the short name of the module or theme for +geofield+ and the correct version
number):
+
----
composer require drupal/geofield:1.7
----
// ==== Expand your understanding
// ==== Related concepts
==== Additional resources
https://www.drupal.org/docs/develop/using-composer/using-composer-with-drupal[_Drupal.org_ community documentation page "Using Composer with Drupal"]
*Attributions*
Adapted by https://www.drupal.org/u/jhodgdon[Jennifer Hodgdon] from
https://www.drupal.org/docs/develop/using-composer/using-composer-with-drupal["Using Composer with Drupal"],
copyright 2000-2017 by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -76,8 +76,9 @@ cd example
drush site-install standard --db-url='mysql://DB_USER:DB_PASS@localhost/DB_NAME' --site- name=example
----
. If you are installing using web installer, upload the core software files
manually. You will need to:
. If you are installing using the web installer, upload the core software files
manually. To do this using Git and/or Composer, see <<install-composer>>; to do
this by downloading a zipped archive:
.. Go to _https://www.drupal.org_ and click _Download & Extend_ on the top-level
menu.
......@@ -108,17 +109,15 @@ image:images/install-prepare-files.png["Download files section of Drupal core do
.. Upload the downloaded file to your hosting account. Log in to the control
panel and navigate to the _HTML_ directory. Save the file there.
.. Uncompress the tar.gz or zip file, which will create a new directory. For
example, if you have terminal access to your hosting server (running Linux), you
.. Uncompress the tar.gz or zip file, which will create a new directory. If you
do not have terminal access, or your hosting server is not running Linux, your
hosting control panel's file manager should provide a way to extract the
files. If you have terminal access to your hosting server (running Linux), you
can use a command like:
+
----
tar -xzf drupal-8.3.2.tar.gz
----
+
If you do not have terminal access, or your hosting server is not running
Linux, your hosting control panel's file manager should provide a way to
extract the files.
.. Delete the compressed file from the server, unless your unpacking method
already deleted it.
......@@ -144,5 +143,6 @@ http://www.drush.org[Drush]
Written and edited by https://www.drupal.org/u/dgorton[Drew Gorton],
https://www.drupal.org/u/michaellenahan[Michael Lenahan] at
https://erdfisch.de[erdfisch],
https://www.drupal.org/u/jhodgdon[Jennifer Hodgdon],
and https://www.drupal.org/u/jojyja[Jojy Alphonso] at
http://redcrackle.com[Red Crackle].
......@@ -8,14 +8,17 @@ Overview of additional tools that help site builders conveniently create sites.
(((Tool,Coder)))
(((Tool,Devel)))
(((Tool,Drush)))
(((Tool,Composer)))
(((Tool,Firebug)))
(((Tool,Git)))
(((Tool,drupal Console)))
(((Coder tool,overview)))
(((Devel tool,overview)))
(((Drush tool,overview)))
(((Composer tool,overview)))
(((Firebug tool,overview)))
(((Git tool,overview)))
(((Drupal Console,overview)))
(((Drupal Console tool,overview)))
// ==== Prerequisite knowledge
......@@ -34,6 +37,8 @@ Git::
track changes in the configuration files and synchronize the configuration of
different sites. Git has become the standard for web development
projects.
Composer::
See below for more about Composer.
Devel::
The https://www.drupal.org/project/devel[contributed Devel module] helps with
development tasks such as debugging and inspecting code, analyzing database
......@@ -69,6 +74,25 @@ http://www.drush.org[Drush website] for installation instructions and version
compatibility. There is also documentation on the available Drush commands on
that site.
==== What is Composer used for?
https://getcomposer.org/[Composer] is a tool for managing PHP dependencies,
where the developer specifies what version of each external library is needed,
and Composer manages the process of downloading and installing the libraries.
The core software is a primary user of Composer, because it makes use of several
externally-developed software libraries, which must be downloaded and installed
in order for the core software to work. When you install the core software, you
either need to download an archive that contains compatible versions of the
external libraries, or you need to run Composer to download the external
libraries after the initial download.
Some contributed modules also make use of externally-developed software
libraries; for example, a Facebook integration module might require Facebook's
integration library to be installed for the module to work, and a geographical
module might make use of a standard library of geographical functions. To
install a module with external dependencies, you will need to run Composer.
==== What tools are available for module and theme developers?
In addition to the site builder tools mentioned above, the following tools are
......@@ -89,11 +113,15 @@ Firebug::
browser window. The https://www.drupal.org/project/drupalforfirebug[contributed Drupal for Firebug module]
displays Drupal debugging and SQL query information in the Firebug window.
// ==== Related topics