Move ContextualDynamicContextTest::renderContextualLinks into WebTestBase

Created on 16 October 2013, over 10 years ago
Updated 25 September 2023, 9 months ago

Updated: Comment #0

Problem/Motivation

The function is already duplicated in views.module's NodeContextualLinksTest and config_translation.module is duplicating it a third time currently. This will happen in contrib a lot more.

Proposed resolution

Move the function to WebTestBase. Most test cases won't use it, but I still think it makes sense to provide it there. Since we don't have traits, there's nowhere else to put it.

Remaining tasks

Review patch.

User interface changes

None.

API changes

Only an API addition: WebTestBase::renderContextualLinks

Related Issues

📌 Task
Status

Closed: outdated

Version

11.0 🔥

Component
Simpletest  →

Last updated 1 day ago

Created by

🇩🇪Germany tstoeckler Essen, Germany

Live updates comments and jobs are added and updated live.
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