mirror of
https://github.com/dnadesign/silverstripe-elemental-list.git
synced 2024-10-22 09:05:47 +00:00
Merge pull request #10 from DrMartinGonzo/patch-2
Added singular and plural name
This commit is contained in:
commit
2b2a38389a
@ -36,6 +36,10 @@ class ElementList extends BaseElement
|
|||||||
|
|
||||||
private static $description = 'Orderable list of elements';
|
private static $description = 'Orderable list of elements';
|
||||||
|
|
||||||
|
private static $singular_name = 'list';
|
||||||
|
|
||||||
|
private static $plural_name = 'lists';
|
||||||
|
|
||||||
public function getType()
|
public function getType()
|
||||||
{
|
{
|
||||||
return _t(__CLASS__ . '.BlockType', 'List');
|
return _t(__CLASS__ . '.BlockType', 'List');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user