Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Follow-up to #2610146: Create API for scrambling methods
Problem/Motivation
In order for other contributed modules to hook into the scrambling module and make sure that it's scrambling is done on execution of the scrambling procedure we need a hook_scramble.
Proposed resolution
Create hook_scramble
Create test module in order to use the hook
API changes
Create hook_scramble so that contrib modules can use this hook.
Comments
Comment #3
Novitsh CreditAttribution: Novitsh at Colruyt Group Services commentedComment #5
Novitsh CreditAttribution: Novitsh at Colruyt Group Services commentedSetting to Needs Review. @nico.knaepen can you check whether this api definition is good enough?
Comment #6
nico.knaepen CreditAttribution: nico.knaepen at Logic in Motion for Colruyt Group Services commentedHook seems to work fine when calling module_implements. Thnx.
Comment #7
nico.knaepen CreditAttribution: nico.knaepen at Logic in Motion for Colruyt Group Services commentedComment #8
nico.knaepen CreditAttribution: nico.knaepen at Logic in Motion for Colruyt Group Services commented