feat: lit/divi-dynamic-sources mit post_id + node – Schleife des Knotens und passende loop_*-Quellen (X6)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Jan-Niclas Loosen
2026-10-19 21:05:49 +02:00
co-authored by Claude Sonnet 5.5
parent 5b52e18a31
commit 02e7c3e8ec
4 changed files with 286 additions and 13 deletions
@@ -203,6 +203,14 @@ final class DiviToolFeaturesTest extends TestCase
'lit/divi-design-restore', ['snapshot_id' => 'theme_options-20261016T100000Z-aaaaaa'],
['theme-option-read', 'theme-option-write'],
],
'dynamic-sources of a node' => [
'lit/divi-dynamic-sources', ['post_type' => 'page', 'post_id' => $page, 'node' => 's0'],
['dynamic-sources', 'roles', 'page-read'],
],
'dynamic-sources of a node in a layout' => [
'lit/divi-dynamic-sources', ['post_type' => 'et_body_layout', 'post_id' => $layout, 'node' => 's0'],
['dynamic-sources', 'roles', 'page-read'],
],
'library-list' => ['lit/library-list', [], ['library-read', 'roles']],
'library-list of one entry' => [
'lit/library-list', ['id' => $library], ['library-read', 'roles', 'page-read', 'design-read'],