Improve documentation for flaggable

Created on 18 May 2023, almost 2 years ago

Problem/Motivation

FlaggingInterface mentions "flaggable" in several places but it was not clear to me what that referred to.

Proposed resolution

I suggest the first lines of the doc blocks for the following functions be replaced with the text given here:

getFlaggable(): Returns the entity that is flagged by this flagging.
getFlaggableType(): Returns the type (for example 'node') of the entity that is flagged by this flagging.
getFlaggableId(): Returns the ID of the entity that is flagged by this flagging.

Once the text is agreed, I am happy to write a patch.

📌 Task
Status

Active

Version

4.0

Component

Documentation

Created by

🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024