You are here

function finder_ui_finder_delete in Finder 7.2

Implements hook_finder_delete().

File

modules/finder_ui/finder_ui.i18n_string.inc, line 57
i18n_string.inc

Code

function finder_ui_finder_delete($object) {
  finder_ui_i18n_string_delete_strings($object, finder_ui_i18n_string_map($object));
  if (!empty($object->elements)) {
    foreach ($object->elements as $element) {
      finder_ui_finder_delete($element);
    }
  }
}