File tree 5 files changed +71
-0
lines changed
5 files changed +71
-0
lines changed Original file line number Diff line number Diff line change 26
26
"docs" : " https://docs.sulu.io/" ,
27
27
"chat" : " https://sulu.io/services-and-support#chat"
28
28
},
29
+ "repositories" : [
30
+ {
31
+ "type" : " vcs" ,
32
+ "url" :
" [email protected] :alexander-schranz/SuluArticleBundle.git"
33
+ }
34
+ ],
29
35
"require" : {
30
36
"php" : " ^8.1" ,
31
37
"ext-ctype" : " *" ,
40
46
"scheb/2fa-email" : " ^6.1" ,
41
47
"scheb/2fa-trusted-device" : " ^6.1" ,
42
48
"stof/doctrine-extensions-bundle" : " ^1.8" ,
49
+ "sulu/article-bundle" : " dev-feature/content-article-repository as 3.0.0" ,
50
+ "sulu/content-bundle" : " ^0.7.1" ,
51
+ "sulu/messenger" : " ^0.2.2" ,
43
52
"sulu/sulu" : " ~2.6.0@dev" ,
44
53
"symfony/config" : " ^6.3" ,
45
54
"symfony/dotenv" : " ^6.3" ,
Original file line number Diff line number Diff line change 44
44
Sulu \Bundle \ActivityBundle \SuluActivityBundle::class => ['all ' => true ],
45
45
Sulu \Bundle \TrashBundle \SuluTrashBundle::class => ['all ' => true ],
46
46
Scheb \TwoFactorBundle \SchebTwoFactorBundle::class => ['all ' => true ],
47
+ Sulu \Messenger \Infrastructure \Symfony \HttpKernel \SuluMessengerBundle::class => ['all ' => true ],
48
+ Sulu \Bundle \ContentBundle \SuluContentBundle::class => ['all ' => true ],
49
+ Sulu \Bundle \ArticleBundle \SuluArticleBundle::class => ['all ' => true ],
47
50
];
Original file line number Diff line number Diff line change
1
+ sulu_article :
2
+ storage : ' experimental'
3
+
4
+ sulu_core :
5
+ content :
6
+ structure :
7
+ default_type :
8
+ article : ' article'
Original file line number Diff line number Diff line change @@ -107,3 +107,8 @@ sulu_trash_api:
107
107
resource : " @SuluTrashBundle/Resources/config/routing_api.yml"
108
108
type : rest
109
109
prefix : /admin/api
110
+
111
+ sulu_article_api :
112
+ resource : " @SuluArticleBundle/Resources/config/routing_experimental_admin_api.yaml"
113
+ type : rest
114
+ prefix : /admin/api
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <template xmlns =" http://schemas.sulu.io/template/template"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" http://schemas.sulu.io/template/template http://schemas.sulu.io/template/template-1.0.xsd" >
5
+
6
+ <key >article</key >
7
+
8
+ <view >articles/article</view >
9
+ <controller >Sulu\Bundle\WebsiteBundle\Controller\DefaultController::indexAction</controller >
10
+ <cacheLifetime >604800</cacheLifetime >
11
+
12
+ <meta >
13
+ <title lang =" en" >Article</title >
14
+ <title lang =" de" >Artikel</title >
15
+ </meta >
16
+
17
+ <properties >
18
+ <property name =" title" type =" text_line" mandatory =" true" >
19
+ <meta >
20
+ <title lang =" en" >Title</title >
21
+ <title lang =" de" >Titel</title >
22
+ </meta >
23
+ <params >
24
+ <param name =" headline" value =" true" />
25
+ </params >
26
+
27
+ <tag name =" sulu.rlp.part" />
28
+ </property >
29
+
30
+ <property name =" route" type =" resource_locator" >
31
+ <meta >
32
+ <title lang =" en" >Resourcelocator</title >
33
+ <title lang =" de" >Adresse</title >
34
+ </meta >
35
+
36
+ <tag name =" sulu.rlp" />
37
+ </property >
38
+
39
+ <property name =" article" type =" text_editor" >
40
+ <meta >
41
+ <title lang =" en" >Article</title >
42
+ <title lang =" de" >Artikel</title >
43
+ </meta >
44
+ </property >
45
+ </properties >
46
+ </template >
You can’t perform that action at this time.
0 commit comments