summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-15 18:47:58 +0200
committerWuzzy <almikes@aol.com>2016-08-15 18:47:58 +0200
commita2cbdbf525088e396efc11db0057b81cc4381214 (patch)
tree02bd190476e25c21a7d2ae586cbd57cef85c4d97 /API.md
parent5e813bffa17450680636d1ce63a8fb668a454a3c (diff)
Very simple hidden entries
Diffstat (limited to 'API.md')
-rw-r--r--API.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/API.md b/API.md
index 62abfb3..f05a0b5 100644
--- a/API.md
+++ b/API.md
@@ -110,6 +110,8 @@ the category definition.
* `entry_id`: Unique identifier of the new entry, as a string
* `def`: Definition table, it has the following fields:
* `name`: Entry name to be shown in the interface
+ * `hidden`: (optional) If `true`, entry will not be displayed in entry list
+ initially (default: `false`)
* `data`: Arbitrary data attached to the entry. Any data type is allowed;
The data in this field will be used to create the actual formspec
with `build_formspec` from the category definition