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

NameTypeRequiredDescription
actionstringYesThe action whose viewlet you wish to get
contextstringYesThe context in which the action will be rendered. i.e. 'adminPlaceholder'