Problem/Motivation
I need to alter the results of getTermIds() in \Drupal\fullcalendar_view\TaxonomyColor service but there is no way to do so unless overriding completely the fullcalendar_view.taxonomy_color.
The quickest and easiest solution is to decorate the service BUT the method is marked as `private`.
Proposed resolution
Change the method to `public`
Remaining tasks
Review MR and merge if possible.
Issue fork fullcalendar_view-3433224
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
matthieuscarset commentedClosing this issue as this change is not really necessary.
It is easier to simply override the
colorInputBoxs()method to implement custom logic.Comment #4
matthieuscarset commentedReopening because this small change is actually very helpful👌
I decorate TaxonomyColor to alter
$elementsunder Taxonomy Colors options.I need to get the list of
$termsagain, so I need to havegetTermId()method public to be able to call it.Comment #6
mingsongThanks @Matthieu, merged into the dev version.
Comment #7
mingsong