I have a few profile2 types. Profile2 entity is always rendered on standard user view page.

How can I hide this entity? I know I can hide all fields in Manage Display tab, but I wondering if there is a way quicker way.

2 Answers 2


At admin/people/permissions you can configure what user roles are allowed access to the Profile 2 profiles on a per-profile-type basis. So if you're alright with letting admin users see the profiles, you can hide them for everyone else with the permission controls.

  • it's not affect fields from profile2 entities which I'm displaying inside views?
    – Codium
    Aug 14, 2015 at 23:00
  • 1
    Don't know. When I have time later I can test. Or you could try it yourself...
    – dblue
    Aug 14, 2015 at 23:36

Check out these two modules.
1. https://www.drupal.org/project/view_profiles_perms

This module provides permissions to view user profiles depending on what roles the profile requested to be viewed has.

Use case example: If you want all users to only be able to access profiles of users with the role 'blogger', uncheck 'access user profiles' and check 'access blogger profiles' for anonymous and authenticated users.

  1. https://www.drupal.org/project/field_permissions

The Field Permissions module allows site administrators to set field-level permissions to edit, view and create fields on any entity.


Enable field permissions on any entity, not just nodes. Role-based field permissions allowing different viewing patterned based on what access the user has. Author-level permissions allow viewing and editing of fields based on who the entity owner is. Permissions for each field are not enabled by default. Instead, administrators can enable these permissions explicitly for the fields where this feature is needed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.