Hide "block" button from user/x/stream page

Created on 30 October 2024, about 1 month ago

Problem/Motivation

When the user go to the following page as admin you will see a Block button at the top of the content. The button can be used to block user from sending you private messages.

Steps to reproduce

  • Enable Social Private Message module
  • Log-in with admin user
  • Go to /user/{user-id}/stream and check block button

Proposed resolution

The button is being added by an hook-entity-view from Private Message module, so create a new hook-entity-view to remove the Block button.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

13.0

Component

Code (back-end)

Created by

🇧🇷Brazil viniciusrp

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024