Example module for D8 for extending widgets

Created on 12 June 2020, almost 5 years ago
Updated 20 January 2025, 3 months ago

I wanted to extend the module but was not sure how so I've created this custom example module. By extending I mean how to add new widgets from another module.

You can review and say if it could be shorter / better but overall I'm extending the service that defines the names for the widgets, then inject another value to the array and rest is just templating.

For this to work I needed to replace 2 static calls with service but it was all there already so maybe this was bug in the code.

📌 Task
Status

Needs work

Version

3.1

Component

Code

Created by

🇪🇪Estonia hkirsman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024