SimplifyLeftAndMainDecorator::checkPermissions
checkPermissions loop through each permission, check if the current user has it, and add the permission.js or permission.css file as a requirement
Signature
private function checkPermissions(array
$permissions,
$cssPath,
$jsPath )
Parameters
$permissions
— array- List of permissions to check
$cssPath
—$jsPath
—
Returns
- null