https://api.drupal.org/api/drupal/core%21modules%21filter%21tests%21filt...
The documentation for filter_test_filter_format_insert() should state:
Implements hook_ENTITY_TYPE_insert().
not
Implements hook_filter_format_insert().
The same is true of the filter_test_filter_format_update().
| Comment | File | Size | Author |
|---|---|---|---|
| #26 | filter-test-correct-hook-doc-2613146-26.patch | 769 bytes | zuhair_ak |
| #23 | filter-test-correct-hook-doc-2613146-23.patch | 769 bytes | msankhala |
| #16 | 2613146-16.patch | 945 bytes | rasikap |
| #3 | filter_test_module_fix_hooks_comments-2613146-3.patch | 737 bytes | lobsterr |
Comments
Comment #2
lobsterr commentedComment #3
lobsterr commentedComment #4
lobsterr commentedComment #5
chi commentedComment #6
cilefen commentedComment #7
cilefen commentedComment #8
chi commentedThere are few other functions with exact same problem. For example block_content_test_block_content_presave(). Shall we create a separate issue for each case?
Comment #9
cilefen commented@Chi, yes, but do it by module. So, one issue for the block_content module.
Comment #10
lobsterr commented@Chi you can assign the new task to me. Thanks
Comment #12
lobsterr commentedComment #14
munizjor commentedChanges look good and its 8.1.x test passed.
Comment #15
rasikap commentedComment #16
rasikap commentedAdded patch for 8.2.x
Comment #22
msankhala commentedThe patch #3 does not apply anymore and the patch #16 is making an incorrect change
Implements hook_filter_format_disable() => Implements hook_disable().correct hook ishook_filter_format_disable().Comment #23
msankhala commentedHere is the new patch.
Comment #24
longwaveComment #26
zuhair_akSeems like a random test failure, have been seeing this in some other issues as well..running testbots again
Comment #27
longwaveComment #29
longwaveComment #30
catchCommitted e2432d9 and pushed to 8.7.x. Thanks!