Model
PluginTypesPolicy
Magento\Csp\Model\Policy\PluginTypesPolicy
What it does
This class implements a Content Security Policy (CSP) for controlling which plugin MIME types are allowed to be loaded on a page.
Developers use this to whitelist specific plugin types like Flash or Java applets, restricting which embedded content can execute for security purposes.
It works in conjunction with the object-src CSP directive.
Public Methods
- getId()
- getValue()
- getTypes()