This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Temporary function to delete fields attached to entities that have already | |
* been deleted. This assumes there are no deleted fields that need to be | |
* purged as this won't actually remove their tables in the database. Use with | |
* caution and only when fully understanding what this does compared to | |
* field_purge_batch and field_purge_field_storage. | |
*/ | |
function _fix_missing_entities_during_field_purge() { |