Follow-up to #2610146: Create API for scrambling methods

Problem/Motivation

Add the ability to add a data array to the scrambler in order to configure the scrambling method.

Proposed resolution

Add the data array structure to the scrambler_field module.

API changes

Suggested data array structure:

$data['module_name'] = array(
  'unique_machine_name' => array(
    'base_table' => 'table_name',
    'fields' => array('field_name_1', 'field_name_2'),
    'method' => 'method_name' // shuffle_characters, shuffle_words, empty_value
  ),
);

Comments

nico.knaepen created an issue. See original summary.

nico.knaepen’s picture

Status: Needs work » Active

  • nico.knaepen committed 7c4d4ed on 7.x-1.x
    Issue #2617566 by nico.knaepen: Added ability to add parameters in the...
nico.knaepen’s picture

Status: Active » Needs review
nico.knaepen’s picture

Status: Needs review » Closed (fixed)