You are here

function i18n_string_object_remove in Internationalization 7

Remove object strings, because object is deleted

Parameters

$type: Object type

$object: Object or array

8 calls to i18n_string_object_remove()
i18n_contact_form_contact_category_delete_form_submit in i18n_contact/i18n_contact.module
Remove strings for deleted categories.
i18n_field_field_delete_instance in i18n_field/i18n_field.module
Implements hook_field_delete_instance().
i18n_menu_menu_delete in i18n_menu/i18n_menu.module
Implements hook_menu_delete()
i18n_menu_menu_link_delete in i18n_menu/i18n_menu.module
Implements hook_menu_delete()
i18n_menu_menu_link_update in i18n_menu/i18n_menu.module
Implements hook_menu_link_update().

... See full list

File

i18n_string/i18n_string.module, line 905
Internationalization (i18n) package - translatable strings.

Code

function i18n_string_object_remove($type, $object, $options = array()) {
  return i18n_object($type, $object)
    ->strings_remove($options);
}