Closed (outdated)
Project:
Token Filter
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2013 at 20:05 UTC
Updated:
27 Apr 2018 at 22:23 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dave reidI have no idea what is required in our filter information in order to support Aloha.
Comment #2
robert castelo commentedThis also affects the Edit module so that when using in-line editing ('Quick Edit') the token value is in the field being edited instead of the token.
To fix this and also avoid the warning message, add:
'type' => FILTER_TYPE_TRANSFORM_REVERSIBLEto token_filter_filter_info()
Comment #3
robert castelo commentedMore info here:
https://drupal.org/node/1817474
Comment #4
dave reidWill this work for people that don't have the Edit module installed, and hence the constant won't be defined? Also, please don't have hashes in your patch file name, it makes it so that no one can actually view them on Drupal.org.
Comment #5
robert castelo commentedGood point, as FILTER_TYPE_TRANSFORM_REVERSIBLE is defined in Editor that would throw up an error if Editor not installed.
I can wrap it in a check for the module being enabled.
Sorry about the hashes on the patch file name.
Comment #6
robert castelo commentedUpdated patch that checks if Editor module is enabled before adding the filter type to the hook_filter_info() array.
Comment #7
darvanenEdit module has been replaced by quick_edit and this issue has not received an update in 5 years, closing.
Please feel free to resurrect with a new patch if required.