public function getContentTypeUserPermissions($contentTypeSlug, $user)
    {
        $permissions = [];
        foreach (array_keys($this->contentTypePermissions) as $contentTypePermission) {
            $permissions[$contentTypePermission] = $this->isAllowed($contentTypePermission, $user, $contentTypeSlug);
        }

        return $permissions;
    }
public function getContentTypeUserPermissions($contentTypeSlug, $user)
    {
        $permissions = [];
        foreach (array_keys($this->contentTypePermissions) as $contentTypePermission) {
            $permissions[$contentTypePermission] = $this->isAllowed($contentTypePermission, $user, $contentTypeSlug);
        }

        return $permissions;
    }
public function getContentTypeUserPermissions ( $ contentTypeSlug , $ user ) { $ permissions = [ ] ; foreach ( array_keys ( $ this -> contentTypePermissions ) as $ contentTypePermission ) { $ permissions [ $ contentTypePermission ] = $ this -> isAllowed ( $ contentTypePermission , $ user , $ contentTypeSlug ) ; } return $ permissions ; }
Return a list of ContentType permissions that a user has for the ContentType.

@param string             $contentTypeSlug
@param array|Entity\Users $user

@return bool[]
Return a list of ContentType permissions that a user has for the ContentType .