- Issue created by @stado
- Merge request !25Issue #3499227: Added a hook so that content owner can't rate. → (Closed) created by arunsahijpal
- 🇮🇳India arunsahijpal
Hi @stado,
I've added a hook so that the content owner can't rate on his content, pls check. - 🇦🇹Austria jordik
The functionality of this hook does not belong in the rate.module file, as prohibiting users from rating content they created is not always required.
It needs to be called by a custom module and not making this the default module behavior, so the implementation of this request is wrong.
The code provided can be used as a reference, in case this restriction is needed.