/**
  * Save Playlist Type.
  */
 public function save($entity, DatabaseTransaction $transaction = NULL)
 {
     parent::save($entity, $transaction);
     // Rebuild menu registry. We do not call menu_rebuild directly, but set
     // variable that indicates rebuild in the end.
     // @see http://drupal.org/node/139961
     variable_set('menu_rebuild_needed', TRUE);
 }