Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Advanced Tables - Table Plus
heading0
multiplefalse
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse
Node nameValue
Mgnl f
modules

Mgnl f
my-module


Mgnl f
config


Mgnl p
foo

bar
Info

A bean in Magnolia configuration can have three states, which are represented by value the Boolean property called enabled:

  • enabled = true (default in most cases, there's no need to set this).
  • enabled = false
  • enabled = null,  in which case the bean's configuration is either undefined or inherited - merged with its parent, for example when an area from a page template definition can get its values from a prototype.

When using the module class for configuration, create the module configuration in the /modules/<name-of-your-module>/config directory. Bootstrap this data to ensure proper installation and setting of the config node.

...