penance316/drupal-playground

Dev drupal module to help with debugging.

dev-master 2023-11-28 11:33 UTC

This package is auto-updated.

Last update: 2024-10-28 13:42:28 UTC


README

Dev drupal module to help with debugging.

What we can do here

  • Run code on each page load.
  • Empty page under route /playground/test.
  • Ability to view any entity in any view mode.
  • get module dependencies.
Run code on every request

Checkout playground.module file.

Get module dependencies

To get module dependencies /playground/dependency/{module_name}

View entity

To view any entity

/playground/entity/{entity_type}/{entity}/

Optional parameter view_mode can be specified

/playground/entity/{entity_type}/{entity}/{view_mode}