En dev registry content actions - movabletype/Documentation GitHub Wiki
It is possible to inject links between the form title and the action button / listing by defining them under content_actions
- mode
- defines the __mode parameter of the link. without it, the URL won’t be created
- args
- Additional URL parameters. can be a hash ref or code ref that returns a hash ref
- id
- if defined, the <a> tag will have this id
- return_args
- If true, will use the current query parameters as a basis for the link parameters
- class
- the <a> tag class. (it always gets “icon-left” class too)
- dialog
- if true, link will be opened as a dialog
- confirm_msg
- if defined, user will ask for confirmation before continuing
- label
- The link text
Inside args
, if _type
is not defined it will be defaulted to the listing screen type