d8-contrib-modules / field_encrypt

CODE HAS BEEN MOVED TO https://www.drupal.org/project/field_encrypt
0 stars 5 forks source link

Add hook_field_encrypt_allow_encryption #49

Closed svendecabooter closed 8 years ago

svendecabooter commented 8 years ago

See https://github.com/d8-contrib-modules/field_encrypt/issues/47 for details.

This PR introduces a new hook that can be implemented, to allow other modules to stop the encryption of a field property, based on conditions they can set. This allows for the use case laid out in https://github.com/d8-contrib-modules/field_encrypt/issues/47 by @arknoll.

nerdstein commented 8 years ago

Looks perfect... merging

arknoll commented 8 years ago

@svendecabooter ++ @nerdstein ++