Skip to content

Commit fdc6dd4

Browse files
committed
Added value-connector for Content List
https://github.com/umco/umbraco-content-list This is another "Inner Content" property-editor, so can inherit the value-connector logic.
1 parent 16cd10d commit fdc6dd4

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ This project offers Umbraco Deploy connectors for the following community packag
1919
- [Stacked Content](https://github.com/umco/umbraco-stacked-content)
2020
- [nuPickers](https://our.umbraco.org/projects/backoffice-extensions/nupickers/)
2121
- [Archetype](https://our.umbraco.org/projects/backoffice-extensions/archetype/)
22+
- [Content List](https://github.com/umco/umbraco-content-list)
2223

2324
---
2425

src/Umbraco.Deploy.Contrib.Connectors/Umbraco.Deploy.Contrib.Connectors.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@
242242
<Compile Include="ValueConnectors\NuPickersValueConnector.cs" />
243243
<Compile Include="ValueConnectors\RelatedLinksValueConnector.cs" />
244244
<Compile Include="ValueConnectors\RelatedLinks2ValueConnector.cs" />
245+
<Compile Include="ValueConnectors\ContentListConnector.cs" />
245246
<Compile Include="ValueConnectors\VortoValueConnector.cs" />
246247
<Compile Include="ValueConnectors\InnerContentConnector.cs" />
247248
<Compile Include="ValueConnectors\StackedContentConnector.cs" />
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using Umbraco.Core.Services;
4+
using Umbraco.Deploy.ValueConnectors;
5+
6+
namespace Umbraco.Deploy.Contrib.Connectors.ValueConnectors
7+
{
8+
/// <summary>
9+
/// A Deploy ValueConnector for the Content List property editor.
10+
/// https://github.com/umco/umbraco-content-list
11+
/// </summary>
12+
public class ContentListConnector : InnerContentConnector
13+
{
14+
public override IEnumerable<string> PropertyEditorAliases => new[] { "Our.Umbraco.ContentList" };
15+
16+
public ContentListConnector(IContentTypeService contentTypeService, Lazy<ValueConnectorCollection> valueConnectors)
17+
: base(contentTypeService, valueConnectors)
18+
{ }
19+
}
20+
}

0 commit comments

Comments
 (0)