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

nico.knaepen created an issue. See original summary.

  • Novitsh committed af16871 on 7.x-1.x
    Issue #2610198 by Novitsh: Create a placeholder for example module.
    
Novitsh’s picture

Category: Plan » Task

  • Novitsh committed 55b310b on 7.x-1.x
    Issue #2610198 by Novitsh: Creation of scrambler.api and an example...
Novitsh’s picture

Assigned: Unassigned » nico.knaepen
Status: Active » Needs review

Setting to Needs Review. @nico.knaepen can you check whether this api definition is good enough?

nico.knaepen’s picture

Status: Needs review » Reviewed & tested by the community

Hook seems to work fine when calling module_implements. Thnx.

nico.knaepen’s picture

Status: Reviewed & tested by the community » Fixed
nico.knaepen’s picture

Status: Fixed » Closed (fixed)