getActionViewlet()
Overview
public string function getActionViewlet(
required string action
, required string context
)
Returns the convention based viewlet name for the given action and context
Arguments
Name | Type | Required | Description |
---|---|---|---|
action | string | Yes | The action whose viewlet you wish to get |
context | string | Yes | The context in which the action will be rendered. i.e. 'adminPlaceholder' |