Rename Comment::permalink() to not be ambiguous with ::uri()

Created on 16 October 2013, about 11 years ago
Updated 30 August 2023, about 1 year ago

Problem/Motivation

On CommentInterface we have two different methods CommentInterface::permalink and EntityInterface::uri. We also have comment_uri so If we want to remove comment_uri which method will replace it and why?

Proposed resolution

Please clarify the difference and document it.

Remaining tasks

Discussion

User interface changes

None

API changes

None

Related Issues

📌 Deprecate comment_uri() Needs work
#2111419: Remove CommentManager::getParentEntityUri() in favor of Comment::permalink()
#1978904: Convert comment_admin() to a Controller
#1970360-78: Entities should define URI templates and standard links

Beta phase evaluation

<!--Uncomment the relevant rows for the issue. -->
📌 Task
Status

Needs work

Version

11.0 🔥

Component
Comment 

Last updated 37 minutes ago

Created by

🇵🇰Pakistan jibran Sydney, Australia

Live updates comments and jobs are added and updated live.
  • DrupalWTF

    Worse Than Failure. Approximates the unpleasant remark made by Drupal developers when they first encounter a particular (mis)feature.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024