Not a developer? Go to



This callback is called when an asset’s physical file is restored.

Input Parameters

  • $cb - a reference to the current MT::Callback object handling this event.
  • $asset - a reference to the MT::Asset object that was restored. At the time this callback is invoked, the asset in question has already been assigned a new url and path.
  • $callback - a code reference which will print out the passed parameter. Callback method can use this to communicate with users.

Return Value


Example Handler

sub restore_asset_handler {
    my ($cb, $asset, $callback) = @_;