File tree 7 files changed +9
-11
lines changed
7 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 1
1
# Define the menu links for this module
2
2
3
3
entity.content_entity_example_contact.collection :
4
- title : ' Content Entity Example: Contacts listing '
4
+ title : ' Content Entity Example'
5
5
route_name : entity.content_entity_example_contact.collection
6
6
description : ' List contacts'
7
- weight : 10
8
7
content_entity_example_contact.admin.structure.settings :
9
8
title : ' Contact settings'
10
9
description : ' Configure contact entity'
Original file line number Diff line number Diff line change @@ -36,14 +36,14 @@ public function testContentEntityExample() {
36
36
]);
37
37
38
38
// Anonymous User should not see the link to the listing.
39
- $ assert ->pageTextNotContains ('Content Entity Example: Contacts listing ' );
39
+ $ assert ->pageTextNotContains ('Content Entity Example ' );
40
40
41
41
$ this ->drupalLogin ($ web_user );
42
42
43
43
// Web_user user has the right to view listing.
44
- $ assert ->linkExists ('Content Entity Example: Contacts listing ' );
44
+ $ assert ->linkExists ('Content Entity Example ' );
45
45
46
- $ this ->clickLink ('Content Entity Example: Contacts listing ' );
46
+ $ this ->clickLink ('Content Entity Example ' );
47
47
48
48
// WebUser can add entity content.
49
49
$ assert ->linkExists ('Add contact ' );
Original file line number Diff line number Diff line change 1
1
email_example.description :
2
- title : ' E-mail Example: Contact Form '
2
+ title : ' E-mail Example'
3
3
description : ' Callback for generating form.'
4
4
route_name : email_example.description
Original file line number Diff line number Diff line change 1
- name : Render example
1
+ name : Render Example
2
2
type : module
3
3
description : Provides examples demonstrating Drupal's Render API.
4
4
package : Example modules
Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ render_example.description:
5
5
expanded : TRUE
6
6
7
7
render_example.arrays :
8
- title : Building Render Arrays
8
+ title : Building render arrays
9
9
description : Building render arrays in controllers.
10
10
route_name : render_example.arrays
11
11
parent : render_example.description
12
12
weight : -9
13
13
14
14
render_example.altering :
15
- title : Altering Render Arrays
15
+ title : Altering render arrays
16
16
description : Using hooks and callbacks to alter render arrays.
17
17
route_name : render_example.altering
18
18
parent : render_example.description
Original file line number Diff line number Diff line change 1
- name : ' Session example '
1
+ name : ' Session Example '
2
2
type : module
3
3
description : ' An example of how to use session in Drupal 8.'
4
4
package : Example modules
Original file line number Diff line number Diff line change @@ -4,4 +4,3 @@ session_example.form:
4
4
title : ' Session Example'
5
5
route_name : session_example.form
6
6
description : ' Setting Form'
7
- weight : 10
You can’t perform that action at this time.
0 commit comments