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

Created on 16 October 2013, over 10 years ago
Updated 30 August 2023, 10 months 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 2 days 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.69.0 2024