Files
Umbraco-CMS/src/Umbraco.Core/PropertyEditors/PlainTimePropertyEditor.cs
Kenn Jacobsen cc082e191c Clean up datatype configurations for V14 (#15718)
* Clean up datatype configurations for V14

* Fix merge

* Remove ParameterEditorCollection + revert accidental changes to core project file
2024-02-15 12:36:23 +01:00

16 lines
496 B
C#

namespace Umbraco.Cms.Core.PropertyEditors;
/// <summary>
/// Represents a property editor for configuration-less time properties.
/// </summary>
[DataEditor(
Constants.PropertyEditors.Aliases.PlainTime,
ValueEditorIsReusable = true,
ValueType = ValueTypes.Time)]
public class PlainTimePropertyEditor : DataEditor
{
public PlainTimePropertyEditor(IDataValueEditorFactory dataValueEditorFactory)
: base(dataValueEditorFactory)
=> SupportsReadOnly = true;
}