Commit a76fb9c
authored
Remove getType() override, add singular_name and plural_name
* REFACTOR: Remove getType() override to allow extensibility
- Removed getType() method override
- Updated $singular_name from 'Testimonials Element' to 'Testimonials'
- Updated $plural_name from 'Testimonials Elements' to 'Testimonials Blocks'
This allows sites to customize the element's display name via extensions
by setting $singular_name.
Fixes #31
Related: dynamic/silverstripe-essentials-tools#68
* Address review: use 'Testimonials' for both singular and plural (collective noun)1 parent 9b553d3 commit a76fb9c
1 file changed
+2
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | 98 | | |
107 | 99 | | |
108 | 100 | | |
| |||
0 commit comments