Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 593 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 593 Bytes

drupal-playground

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}