Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.16 KB

builder-show.md

File metadata and controls

53 lines (35 loc) · 1.16 KB

Show builder configuration

go back to Table of contents


The show builder is the simplest builder of this bundle: it simply creates a page where the values of your object are displayed.

The show builder takes only a few parameters:

builders:
  show:
    title: ~
    display: ~
    actions: ~

Title

title default: {basekey}.title type: string

Used to set the title of the page. By default, it is filled with {admingeneratorprefix}.title.

Display

display default: ~ type: array

See the edit/new documentation.

Actions

actions default: ~ type: array

Actions can be enabled by simply specifying them here with the value ~. The following example will render the save and list action below the form:

edit:
  params:
    actions:
	  list: ~
	  new: ~

You can also use self-defined actions from your global generator parameters, or overwrite specific part of the actions. Check the action documentation for more information.