mirror of
https://github.com/dnadesign/silverstripe-elemental-list.git
synced 2024-10-22 11:05:47 +02:00
a9f840641d
Split out element lists from the core module. The element list provides a base class for blocks to sit inside other blocks.
22 lines
611 B
YAML
22 lines
611 B
YAML
DNADesign\Elemental\Models\ElementalArea:
|
|
area1:
|
|
Title: Page A
|
|
area2:
|
|
Title: Element A
|
|
DNADesign\Elemental\Tests\Src\TestPage:
|
|
page1:
|
|
Title: Page 1
|
|
URLSegment: test-page
|
|
ElementalAreaID: =>DNADesign\Elemental\Models\ElementalArea.area1
|
|
DNADesign\ElementalList\Model\ElementList:
|
|
listElement:
|
|
Title: Element 1
|
|
ParentID: =>DNADesign\Elemental\Models\ElementalArea.area1
|
|
ElementsID: =>DNADesign\Elemental\Models\ElementalArea.area2
|
|
DNADesign\Elemental\Tests\Src\TestElement:
|
|
testContent:
|
|
TestValue: foo
|
|
ParentID: =>DNADesign\Elemental\Models\ElementalArea.area2
|
|
|
|
|