Issue #3396241: Can't create an entity after all its fields decryption and module removal
1 open thread
Closes #3396241
Merge request reports
Activity
21 21 */ 22 22 function field_encrypt_uninstall($is_syncing) { 23 23 \Drupal::state()->delete('field_encrypt.entity_types'); 24 25 $field_storage_definitions = \Drupal::database() We have several calls to the
\Drupal::database()
method, also this method will be called many times during the foreach() section. I believe it makes sense to add$database
variable for the 'database' service and then replace all calls to\Drupal::database()
with$database
. So the result should look like:changed this line in version 2 of the diff
Please register or sign in to reply