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
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
Comment #2
nico.knaepen CreditAttribution: nico.knaepen at Logic in Motion for Colruyt Group Services commentedComment #4
nico.knaepen CreditAttribution: nico.knaepen at Logic in Motion for Colruyt Group Services commentedComment #5
nico.knaepen CreditAttribution: nico.knaepen at Logic in Motion for Colruyt Group Services commented