Files
Umbraco-CMS/src/Umbraco.Core/Actions/ActionRestore.cs
2021-12-16 13:44:20 +01:00

35 lines
842 B
C#

// Copyright (c) Umbraco.
// See LICENSE for more details.
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked when the content/media item is to be restored from the recycle bin
/// </summary>
public class ActionRestore : IAction
{
/// <summary>
/// The unique action alias
/// </summary>
public const string ActionAlias = "restore";
/// <inheritdoc/>
public char Letter => 'V';
/// <inheritdoc/>
public string Alias => ActionAlias;
/// <inheritdoc/>
public string? Category => null;
/// <inheritdoc/>
public string Icon => "undo";
/// <inheritdoc/>
public bool ShowInNotifier => true;
/// <inheritdoc/>
public bool CanBePermissionAssigned => false;
}
}