Closed (fixed)
Project:
Trumba
Version:
8.x-1.2
Component:
Code
Priority:
Normal
Category:
Plan
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2017 at 15:17 UTC
Updated:
18 Apr 2017 at 18:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ericpughCreated a patch to allow the "calendar url" setting on the three Trumba blocks to allow a user to enter either an external url or an internal path. (i.e. "/node/1" or "/calendar")
Internal paths are stored in configuration as a Uri String, and therefore makes it possible to keep the correct settings when moving configuration between environments. I also created a TrumbaBlockBase to try to reduce some of the duplication across Trumba block types.
Comment #3
ericpughThe correct patch.
Comment #4
carsonblack commentedThanks for the refactor @ericpugh! I will review in the next day or two. At first glance, looks legit. I've just been doing more Form API stuff in D8 lately and this is definitely the correct way to do it. Oh, and also the url setting thing, for sure... ;-)
Comment #5
carsonblack commentedApplied cleanly and works fine. Thanks @ericpugh!
Comment #7
carsonblack commented