Please add alter functions for change/remove variables in widget and formatter.

CommentFileSizeAuthor
#2 3270001-alterable_variables-2.patch5.74 KBnevergone

Comments

nevergone created an issue. See original summary.

nevergone’s picture

Status: Active » Needs work
StatusFileSize
new5.74 KB

hook_twig_field_widget_variable_alter() and hook_twig_field_formatter_variable_alter() added.

chi’s picture

@nevergone I've little time to maintain the project these days. Would you like to become a co-maintainer?

nevergone’s picture

All right, let's give it a try.

chi’s picture

@nevergone, you've just got all required permissions to this project. Feel free to commit and release whatever you think is appropriate. Thank you.

nevergone’s picture

Issue tags: +Needs tests
nevergone’s picture

@Chi: Thanks.

hudri’s picture

This feature has been comitted and is available as of version ^1.3 , but leaving the issue open for now due missing tests.

  • nevergone committed 5b3af1d6 on 8.x-1.x
    Issue #3270001 by nevergone: Alterable variables
    
nevergone’s picture

Test coverage is added, issue is completed.

nevergone’s picture

Status: Needs work » Fixed
nevergone’s picture

Issue tags: -Needs tests

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.