Target="_blank" attribute add to external links.

Created on 18 January 2016, almost 9 years ago
Updated 3 August 2024, 4 months ago

Problem/Motivation

I got a PHP Manual external links in Date & Time Format section. If you click on the link It will be opened in the same window. Problem is after choosing the php date & time format I have to click on the browser back button to come again my Drupal site.

Currently has $description = $this->t('A user-defined date format. See the <a href="http://php.net/manual/function.date.php">PHP manual</a> for available options.');

Proposed resolution

I think, If the link would be opened in new tab then user can see the php date & time manual and add the date & time format easily.

Like-
$description = $this->t('A user-defined date format. See the <a href="http://php.net/manual/function.date.php" target="_blank">PHP manual</a> for available options.');

Remaining tasks

Postponed on #2702881: [policy, no patch] Formalize how external links are handled in core

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Postponed

Version

11.0 🔥

Component
UI text 

Last updated about 1 month ago

No maintainer
Created by

🇧🇩Bangladesh imrancluster

Live updates comments and jobs are added and updated live.
  • Needs backport to D7

    After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • Needs accessibility review

    Used to alert the accessibility topic maintainer(s) that an issue significantly affects (or has the potential to affect) the accessibility of Drupal, and their signoff is needed (see the governance policy draft for more information). Useful links: Drupal's accessibility standards, the Drupal Core accessibility gate.

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