This repository was archived by the owner on Sep 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +19
-2
lines changed
Tests/Resources/app/config Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 4
4
- 5.3
5
5
- 5.4
6
6
- 5.5
7
+ - 5.6
7
8
- hhvm
8
9
9
10
env :
12
13
matrix :
13
14
allow_failures :
14
15
- env : SYMFONY_VERSION=dev-master
15
- - php : hhvm
16
16
include :
17
17
- php : 5.5
18
18
env : SYMFONY_VERSION=2.3.*
Original file line number Diff line number Diff line change 24
24
*/
25
25
abstract class AbstractMenuNodeAdmin extends Admin
26
26
{
27
+ /**
28
+ * @var ContentAwareFactory
29
+ */
27
30
protected $ contentAwareFactory ;
31
+
32
+ /**
33
+ * @var string
34
+ */
35
+ protected $ contentRoot ;
36
+
37
+ /**
38
+ * @var string
39
+ */
28
40
protected $ menuRoot ;
41
+
42
+ /**
43
+ * @var string
44
+ */
29
45
protected $ translationDomain = 'CmfMenuBundle ' ;
30
46
31
47
protected function configureListFields (ListMapper $ listMapper )
@@ -83,7 +99,7 @@ protected function configureFormFields(FormMapper $formMapper)
83
99
}
84
100
}
85
101
86
- protected function configureShowField (ShowMapper $ showMapper )
102
+ protected function configureShowFields (ShowMapper $ showMapper )
87
103
{
88
104
$ showMapper
89
105
->add ('id ' , 'text ' )
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ $ container ->setParameter ('cmf_testing.bundle_fqn ' , 'Symfony\Cmf\Bundle\MenuBundle ' );
3
4
$ loader ->import (CMF_TEST_CONFIG_DIR .'/default.php ' );
4
5
$ loader ->import (CMF_TEST_CONFIG_DIR .'/phpcr_odm.php ' );
5
6
$ loader ->import (CMF_TEST_CONFIG_DIR .'/sonata_admin.php ' );
You can’t perform that action at this time.
0 commit comments