class

Hwaro::Models::MenuItemConfig

Inherits Reference / Object

A single [[menus.<name>]] entry from config. name is the only required field (entries missing it are skipped with a warning by the loader); everything else defaults so [[menus.main]]\nname = "Posts" is valid on its own.

Constructors

new(name : String, url : String = "", identifier : String | Nil = nil, parent : String | Nil = nil, weight : Int32 = 0)
Source

Instance methods

identifier
Source
identifier=(identifier : String)
Source
name
Source
name=(name : String)
Source
parent
Source
parent=(parent : String | Nil)
Source
url=(url : String)
Source
weight
Source
weight=(weight : Int32)
Source