function fieldable_panels_panes_entity_delete in Fieldable Panels Panes (FPP) 7
Implements hook_entity_delete().
File
- ./
fieldable_panels_panes.module, line 1657 - Maintains an entity that appears as panel pane content.
Code
function fieldable_panels_panes_entity_delete($entity, $type) {
if ($type == 'fieldable_panels_pane') {
$cid = "fieldable_panels_panes_{$entity->bundle}_content_type";
cache_clear_all($cid, 'cache_panels');
}
}