mirror of
https://github.com/dnadesign/silverstripe-elemental-list.git
synced 2024-10-22 09:05:47 +00:00
Merge pull request #18 from ryanjohnston/feature/cascade-duplicates
Handle duplication of pages with elemental-list properly
This commit is contained in:
commit
854021929f
@ -26,6 +26,10 @@ class ElementList extends BaseElement
|
|||||||
'Elements'
|
'Elements'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
private static $cascade_duplicates = [
|
||||||
|
'Elements'
|
||||||
|
];
|
||||||
|
|
||||||
private static $extensions = [
|
private static $extensions = [
|
||||||
ElementalAreasExtension::class
|
ElementalAreasExtension::class
|
||||||
];
|
];
|
||||||
@ -35,7 +39,7 @@ class ElementList extends BaseElement
|
|||||||
private static $title = 'Group';
|
private static $title = 'Group';
|
||||||
|
|
||||||
private static $description = 'Orderable list of elements';
|
private static $description = 'Orderable list of elements';
|
||||||
|
|
||||||
private static $singular_name = 'list';
|
private static $singular_name = 'list';
|
||||||
|
|
||||||
private static $plural_name = 'lists';
|
private static $plural_name = 'lists';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user