Model
SriEnabledActions
Magento\Csp\Model\SubresourceIntegrity\SriEnabledActions
What it does
This class manages which controller actions in Magento 2 should have Subresource Integrity (SRI) attributes enabled for payment pages.
Developers would use this to check if a specific action requires SRI security attributes, which helps prevent tampering with JavaScript and CSS resources on payment-related pages in both storefront and admin areas.
Public Methods
- isPaymentPageAction()