function hook_field_storage_purge_field

7.x field.api.php hook_field_storage_purge_field($field)

Remove field storage information when a field record is purged.

Called from field_purge_field() to allow the field storage module to remove field information when a field is being purged.


$field: The field being purged.

Related topics

1 function implements hook_field_storage_purge_field()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

field_sql_storage_field_storage_purge_field in drupal/modules/field/modules/field_sql_storage/field_sql_storage.module
Implements hook_field_storage_purge_field().
1 invocation of hook_field_storage_purge_field()
field_purge_field in drupal/modules/field/
Purges a field record from the database.


drupal/modules/field/field.api.php, line 2668
Hooks provided by the Field module.


function hook_field_storage_purge_field($field) {
  $table_name = _field_sql_storage_tablename($field);
  $revision_name = _field_sql_storage_revision_tablename($field);