Controller
clearCachableActions()
Signature
Section titled “Signature”clearCachableActions() — returns void
Available in: controller
Category: Configuration Functions
Description
Section titled “Description”Clears cached action metadata for current controller.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
action | string | no | — | Optional. A single action or list of actions to clear. If not provided, clears all cached actions of current controller. |
Examples
Section titled “Examples”// 1. Clear all cached action metadata for the current controller.
clearCachableActions();
// 2. Clear the cached metadata for a single action.
clearCachableActions(action="termsOfUse");
// 3. Clear the cached metadata for a list of specific actions.
clearCachableActions(action="browseByUser,browseByTitle");