Level up your skills at DrupalCon Chicago 2026 with focused Summits and immersive, hands-on Trainings led by community experts.
Problem/Motivation
Currently the whole calendar logic is based around nodes which is not really great. E.g we have a custom content entity for "tasks" that we would like to sync with an outlook calendar.
Steps to reproduce
Proposed resolution
Add dynamic support for both nodes as content entity types.
Remaining tasks
Update the logic
User interface changes
Extra fields added to the config form
API changes
Some methods might be renamed. Normally this should not impact backwards compatibility.
Data model changes
N/A
Issue fork o365-3295360
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
bramdriesenComment #4
bramdriesenKnown limitation, I didn't spend any time on making the "Add node to calendar block" compatible with the new logic as I couldn't see an easy way to easily do this in a dynamic and general way. That being said, it shouldn't be too difficult for people that need this to create a new custom block in your project that basically does the same as this block but for your custom entity.
Comment #5
bramdriesenComment #6
fabianderijkI'll test this in the upcoming days. Thanks for the work. Sounds like a good option.
Comment #7
bramdriesenSure, let me know if you have any concerns.
One thing I just was thinking about is that my implementation probably won't work with custom content entities with bundles. Unless the bundles them self would also be shown in the drop down where you select the entity. I didn't test this as I didn't have such content type on my website.
Comment #9
fabianderijkI've added your patch (and tweaked it a bit) to the dev version of this module. Thanks!
Comment #10
bramdriesenCool! Thanks :)