jhu-idc / idc_ui_module
Moo Module
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 11
Forks: 1
Open Issues: 1
Type:drupal-module
This package is not auto-updated.
Last update: 2024-09-25 12:10:41 UTC
README
Defining a custom page
To define a custom page:
- create a function in
PageController.php
that returns a theme that points to a template and whatever variables you want - define the template in the
hook_theme()
in the.module
file - define routing configuration in
routing.yml
To define a custom block:
- create a block php file in
src/Plugin/Block
that returns a theme that points to a template and whatever variables you want (similar to the Controller above) OR return a simple#markup
string if you don't need anything complex.
iDC Serializer
This module, and the iDC Serializer that is part of this module, incorporates, modifies and otherwise combines parts of the Facets and Pager Serializer projects. The date these modifications were first incorporated into this module is March 9, 2021.