}
foreach ($components as $comp) {
- $perm = $comp->getPermissions(FALSE, $descriptions);
+ $perm = $comp->getPermissions($all, $descriptions);
if ($perm) {
$info = $comp->getInfo();
foreach ($perm as $p => $attr) {
// Profile permissions
$permissions['profile'] = [
- 'get' => [], // the profile will take care of this
+ // the profile will take care of this
+ 'get' => [],
];
$permissions['uf_group'] = [