-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for CacheLifetime for scheduled blocks in SnippetAreaCont…
…roller (#145)
- Loading branch information
Showing
6 changed files
with
140 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
Tests/Application/config/templates/snippets/default-blocks.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" ?> | ||
<template xmlns="http://schemas.sulu.io/template/template" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://schemas.sulu.io/template/template http://schemas.sulu.io/template/template-1.0.xsd"> | ||
|
||
<key>default-blocks</key> | ||
|
||
<meta> | ||
<title>Default Blocks</title> | ||
</meta> | ||
|
||
<properties> | ||
<property name="title" type="text_line" mandatory="true"> | ||
<meta> | ||
<title>Title</title> | ||
</meta> | ||
|
||
<tag name="sulu.node.name"/> | ||
</property> | ||
|
||
<property name="description" type="text_editor"> | ||
<meta> | ||
<title>Description</title> | ||
</meta> | ||
</property> | ||
|
||
<block name="blocks"> | ||
<types> | ||
<type name="editor_image"> | ||
<meta> | ||
<title lang="de">Editor</title> | ||
<title lang="en">Editor</title> | ||
</meta> | ||
|
||
<properties> | ||
<property name="article" type="text_editor"> | ||
<meta> | ||
<title lang="de">Artikel</title> | ||
<title lang="en">Article</title> | ||
</meta> | ||
</property> | ||
</properties> | ||
</type> | ||
</types> | ||
</block> | ||
</properties> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters