Search by

drupal / devel

Drupal-Infrastructure

Various blocks, pages, and functions for developers.

Package info

git.drupalcode.org/project/devel.git

Type:drupal-module

pkg:composer/drupal/devel

Statistics

Installs: 2 202 538

Dependents: 288

Suggesters: 2


README

[[TOC]]

Introduction

Devel module contains helper functions and pages for Drupal developers and inquisitive admins:

  • A block and toolbar for quickly accessing devel pages. Install drupal/navigation_extra_tools for core navigation module integration.
  • A local task tab added to entities to view their properties
  • Urls created to view the internal entity properties even when there is no menu tab, for example /devel/paragraph/n
  • Debug functions for inspecting a variable such as dpm($variable)
  • Debug a SQL query dpq($query or print a backtrace ddebug_backtrace()
  • A block for masquerading as other users (useful for testing)
  • A mail-system class which redirects outbound email to files
  • dr commands such as fn-hook, fn-event, token, uuid, and devel-services. They work in Drush 13 and 14 too.
  • Devel Generate. Bulk creates nodes, users, comment, taxonomy, media, menus, block content for development. Has dr commands such as genc and genu.

This module is safe to use on a production site. Just be sure to only grant access development information permission to developers.

Collaboration

  • Chat with us at #devel on Drupal Slack.

Local Development

DDEV is configured with https://github.com/ddev/ddev-drupal-contrib for for easy local development, test running, etc.

Version Compatibility

Devel versionDrupal corePHPDrush
5.6+11.4+8.4+13.7+
5.510.4+8.3+13.7+
5.2-5.410+8.1+12+
5.0, 5.19,108.1+11+
4.x8.9+,97.2+9+
8.x-2.x8.x7.0+8+