system_token_info and system_tokens() only provide the 'short', 'medium' or 'long' type tokens, but do not use system_get_date_types() to define what tokens are available. Therefore any module-defined or custom date types do not get tokens. I'm working on adding this support in Token.module for Drupal 7 in the meantime, but we should fix this is core as well.

CommentFileSizeAuthor
#78 1173706-78.interdiff.txt1.66 KBfranceslui
#78 1173706-78.patch7 KBfranceslui
#76 1173706-76.patch7.13 KBlarowlan
#76 interdiff-e398d5.txt958 byteslarowlan
#75 1173706.patch7.02 KBlarowlan
#69 interdiff_67-69.txt904 bytesvsujeetkumar
#69 1173706-69.patch6.96 KBvsujeetkumar
#67 1173706-67.patch6.74 KBSuresh Prabhu Parkala
#60 1173706-60.patch6.92 KBhussainweb
#56 1173706-56-date-format-tokens.patch6.97 KBjoelpittet
#56 interdiff.txt1.75 KBjoelpittet
#54 interdiff.txt1.89 KBjoelpittet
#54 1173706-54-date-format-tokens.patch6.5 KBjoelpittet
#50 1173706-50.patch6.29 KBjoelpittet
#47 1173706-47.patch5.87 KBjoelpittet
#42 1173706-42.patch5.98 KBjoelpittet
#39 1173706-39.patch2.25 KBjoelpittet
#29 date_tokens_do_not-1173706-29.patch3.01 KBNitesh Sethia
#26 interdiff-1173706-24-26.txt1.75 KBfilijonka
#26 1173706-26.patch3 KBfilijonka
#24 1173706-24.patch2.88 KBareke
#14 drupal_1173706_14.patch2.65 KBXano
#12 1173706-12.patch2.45 KBpwieck
#2 1173706-date-custom-formats.patch2.81 KBDave Reid
#1 1173706-date-custom-formats.patch3.4 KBDave Reid
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dave Reid’s picture

Project: Drupal core » Token
Version: 8.x-dev » 7.x-1.x-dev
Component: token system » Code
Status: Active » Needs review
FileSize
3.4 KB

Token.module patch for D7 for review/commit.

Dave Reid’s picture

Project: Token » Drupal core
Version: 7.x-1.x-dev » 8.x-dev
Component: Code » system.module
Issue tags: +token, +Needs backport to D7
FileSize
2.81 KB

Committed #1 to Git: http://drupalcode.org/project/token.git/commit/cbe724f

Moving back to the Drupal core project to fix in D8 (and consider for D7 backport).

Dave Reid’s picture

Category: feature » bug

Classifying as a bug as core only supports the three default date types.

lyricnz’s picture

This is somewhat related to the (D6) issue at #593840: Include tokens for custom date formats for date fields which created new tokens for each of the custom date formats and date format types.

Dave Reid’s picture

Component: system.module » token system
Dave Reid’s picture

Status: Needs review » Needs work
Xano’s picture

Status: Needs work » Needs review
Issue tags: -token, -Needs backport to D7

#2: 1173706-date-custom-formats.patch queued for re-testing.

Status: Needs review » Needs work
Issue tags: +token, +Needs backport to D7

The last submitted patch, 1173706-date-custom-formats.patch, failed testing.

Dave Reid’s picture

system_get_date_types() is gone in D8. This no longer applies and needs reroll.

Dave Reid’s picture

Relevant change notice: http://drupal.org/node/1876852

klonos’s picture

Issue tags: +Needs reroll

...tagging ;)

pwieck’s picture

Status: Needs work » Needs review
FileSize
2.45 KB

Will this work for D8? Used this issue as guide: https://drupal.org/node/1876852

Replaced: D7 system_get_date_types()

With: D8 system_get_date_formats()

Warning: I am a novice

pwieck’s picture

Issue tags: -Needs reroll

#12 passed and ready for review, testing, rework

Xano’s picture

Assigned: Dave Reid » Unassigned
Issue summary: View changes
FileSize
2.65 KB
klonos’s picture

Can someone please update the issue summary with steps to reproduce this bug so I can test the patch provided and report back.

The truth is that I really want to see this be backported to date 7.x ASAP and the way to do that is fix it in D8 first.

Dave Reid’s picture

@klonos: This has already been provided by the token module in D7.

klonos’s picture

Ok, I just checked and feel really stupid about the fact I never noticed that before. Thanx Dave (not for making me feel stupid - for pointing the thing).

Still I wish to help with testing so we can get this in D8, so STR in the issue summary would help.

filijonka’s picture

Issue tags: -Needs backport to D7, -Needs issue summary update +Needs re-roll
filijonka’s picture

Issue tags: +Needs tests
filijonka’s picture

Status: Needs review » Needs work
jhedstrom’s picture

Issue tags: -Needs re-roll +Needs reroll
Dave Reid’s picture

Issue tags: +Needs backport to D7
filijonka’s picture

sorry @Dave Reid thought your response to #15 meant we already had it in D7 and didn't need backport.

areke’s picture

Status: Needs work » Needs review
FileSize
2.88 KB

Status: Needs review » Needs work

The last submitted patch, 24: 1173706-24.patch, failed testing.

filijonka’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll
FileSize
3 KB
1.75 KB

not sure what needs to be tested on this.

Berdir queued 26: 1173706-26.patch for re-testing.

jhedstrom’s picture

Status: Needs review » Needs work
Issue tags: +Needs reroll

Patch needs rerolling. For adding a test, hook_token doesn't appear to be tested at all at this point. There are integration tests for token replacement though, so the system_tokens() function could potentially be tested from there.

Nitesh Sethia’s picture

Status: Needs work » Needs review
FileSize
3.01 KB

Rerolled the patch as per the latest D8 release.

Nitesh Sethia’s picture

Issue tags: -Needs reroll

Removing Need reroll tag.

Berdir’s picture

Status: Needs review » Needs work

Yes, we need to create and test an additional date format.

We also need to make sure that adding a new one clears the token cache, see token_form_alter() in token.module. So create one in the UI and then ensure that the token info for it exists.

I think we also need to add cacheability metadata for the replaced tokens based on the used date format.

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

sukanya.ramakrishnan’s picture

All,

any updates on this issue please?

Thanks,
Sukanya

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

joelpittet’s picture

Version: 8.5.x-dev » 8.6.x-dev
Status: Needs work » Needs review
FileSize
2.25 KB

Here's a re-roll + I replaced the t('@name' because the string is not translatable like that, the label would need to be translated already.

Also changed the logic a bit in system_tokens and adds the cachable metadata that @berdir mentioned.

Berdir’s picture

Status: Needs review » Needs work
+++ b/core/modules/system/system.tokens.inc
@@ -161,17 +174,17 @@ function system_tokens($type, $tokens, array $data, array $options, BubbleableMe
+    $date_format_storage = \Drupal::entityTypeManager()->getStorage('date_format');
     foreach ($tokens as $name => $original) {
+      // Date type token replacement.
+      $date_format = $date_format_storage->load($name);
+      if ($date_format) {
+        $bubbleable_metadata->addCacheableDependency($date_format);
+        $replacements[$original] = format_date($date, $name, '', NULL, $langcode);
+        continue;

This is also needed, but it's only about caching the results of a token replacement.

It does not affect what is cached in the token info (which is based on system_token_info()). That doesn't support cache tags, you need to explicitly call \Drupal::token()->resetInfo();. See token_date_format_insert()/token_date_format_delete()

What we should do is extend \Drupal\Tests\system\Kernel\Token\TokenReplaceKernelTest::testSystemDateTokenReplacement(), with token replacement calls for configurable date formats, but also test \Drupal::token()->getInfo(), make sure it contains the date formats, then create a new one, then call getInfo() again and it must return the new one. additionally, we could also test the cacheable metadata that is returned, similar to to testSystemSiteTokenReplacement().

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

joelpittet’s picture

Status: Needs work » Needs review
Issue tags: -Needs tests
FileSize
5.98 KB

I've extended \Drupal\Tests\system\Kernel\Token\TokenReplaceKernelTest::testSystemDateTokenReplacement to test all date format tokens and a small assert to make sure we are testing "something" with a check for the 11 date formats.

I added a couple system_date_format_insert/delete() with the \Drupal::token()->resetInfo() call. And a test for

test \Drupal::token()->getInfo()

Hope I got all the things, thanks for the review @Berdir.

Status: Needs review » Needs work

The last submitted patch, 42: 1173706-42.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

Berdir’s picture

  1. +++ b/core/modules/system/system.module
    @@ -1424,3 +1424,17 @@ function system_element_info_alter(&$type) {
    + * Implements hook_date_format_insert().
    + */
    +function system_date_format_insert() {
    +  \Drupal::token()->resetInfo();
    +}
    +
    +/**
    + * Implements hook_date_format_delete().
    + */
    +function system_date_format_delete() {
    +  \Drupal::token()->resetInfo();
    

    unlike the token module, you can actually implement that directly in the date format entity class instead of adding hooks.

  2. +++ b/core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php
    @@ -5,7 +5,10 @@
     use Drupal\Core\Render\BubbleableMetadata;
    +use mysql_xdevapi\Exception;
    +use phpDocumentor\Reflection\DocBlock\Tags\Example;
     
    

    those seem to be wrong/unrelated includes.

  3. +++ b/core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php
    @@ -5,7 +5,10 @@
    +use mysql_xdevapi\Exception;
    

    that doesn't seem to be the right exception class ;)

joelpittet’s picture

Whoops, that's like leaving `dpm()` in the code... got a bit alt-enter happy in PHPStorm. Oh nice I don't have to use the hooks!

Re 1. Is it on DateFormat entity that I add the hooks or do I need to extend ConfigEntityStorage?

Berdir’s picture

DateFormat

joelpittet’s picture

Status: Needs work » Needs review
FileSize
5.87 KB

Took a stab at it, not sure if I should use dependency injection here and stuck the code on the save() method instead of insert() which doesn't exist on that class.

The last submitted patch, 42: 1173706-42.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

Berdir’s picture

Status: Needs review » Needs work

You want postSave() (with if (!$update)) and postDelete(). save() is just a wrapper for $storage->save($entity) and isn't guaranteed to be called.

DI is not possible in entity classes.

joelpittet’s picture

Status: Needs work » Needs review
FileSize
6.29 KB

postDelete is static and postSave() is not 😖

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

joelpittet’s picture

Version: 8.8.x-dev » 8.7.x-dev
jhodgdon’s picture

There was a slack request to review this, and I had a few minutes to spare, so I took a quick look at this patch. A few comments -- just noting that I didn't test the patch, I only looked at the code.:

a) The latest test found a coding standards violation:

source/core/modules/system/system.tokens.inc
line 10	Unused use statement

b) I think this should most likely be on 8.8.x. It may be backported on commit, but my understanding is all issues are 8.8 now.

c) Nitpick -- in the system_token_info() function:

+      'description' => t("A date in the %name format. (%date)", [

Why use double quotes here? I think we usually want to use single quotes unless double are really needed, and I don't see that they're needed here. I guess it is just left over from the copy/paste of existing lines from that function, such as

 'description' => t("A date in 'medium' format. (%date)", [

d) In the system_tokens() function: It looks like there could be a problem in the unlikely event that a date format ID is either 'since' or 'raw', because it would load the format instead of getting to the switch statement cases that are still in the code. Is it possible for either of those to be a date format ID?

e) Also, what happens if you call ->load($id) on an ID that doesn't exist? Because 'since' and 'raw' would be passed in... let's see... I guess it would be OK as long as those formats don't exist in the database. Looks like ->load() returns nothing if the ID doesn't exist. So, you can ignore this. ;)

f) In the test, nitpick:

+  public function testSystemDateTokenGetInfo() {
+    $tokens = \Drupal::token()->getInfo();
+    $this->assertArrayNotHasKey('y2k', $tokens['tokens']['date']);
+
+    // Add new tokens.
+    $date_format = DateFormat::create([
+      'id' => 'y2k',
+      'label' => 'Y2K',
+      'pattern' => 'y',
+    ]);

That comment should be "Add new formats" not "Add new tokens", and then a bit farther down:

+    // Delete new token.
+    DateFormat::load('y2k')->delete();

Same, should be "Delete a format" I think?

joelpittet’s picture

Thanks for the review @jhodgdon!

  1. Removed, thanks, though hope that's not out of scope since it was there before.
  2. You're likely right, I'll let the committer decide
  3. Fixed
  4. It's not possible, because of their specialness they've become "reserved".
  5. You got it
  6. Fixed, updated comments.
jhodgdon’s picture

Looking good!

I realize I have a few more questions:

a) In the DateFormat entity class:

+  public function postSave(EntityStorageInterface $storage, $update = TRUE) {
+    parent::postSave($storage, $update);
+    if (!$update) {
+      \Drupal::token()->resetInfo();
+    }
+  }

Is it possible for an update to change the ID of the format? If so, then even on an update, we would still want the token info to be replaced.

b) Same method -- this method is not static, so shouldn't the token service be injected rather than using a call to \Drupal::token()?

c) In the info() hook -- can the existing code that added the tokens for short, medium, and long formats be removed? Because it seems like this part you added

+  $date_formats = \Drupal::entityTypeManager()->getStorage('date_format')->loadMultiple();
+  foreach ($date_formats as $date_format) {

should include those 3 built-in formats? [If not, then the code in the hook_tokens() implementation wouldn't work either?]

d) One last comment nitpick, at the bottom of the test:

+    // Get the count of removed tokens.
+    $tokens = \Drupal::token()->getInfo();
+    $this->assertArrayNotHasKey('y2k', $tokens['tokens']['date']);

That doesn't look like a count to me. :) Probably better "Verify the token was removed."

joelpittet’s picture

@jhodgdon Sorry for the delay getting back to this. Thanks again for the review.

  1. I don't think it's possible to change the machine name without delete.
  2. I'm not sure how to inject this because there is no create() method or a access to the container, any ideas?
  3. I think you're right, removed!
  4. Thanks for spotting this, fixed
jhodgdon’s picture

I just did a quick test, and you are correct -- at least from admin/config/regional/date-time there is no way to change a date format ID once the format has been created.

And I agree about the injection... at least, I see in methods like EntityBase::create() it calls \Drupal methods. Ugh. But at least consistent.

So, it looks like all of my review comments have been addressed. I think the code looks good!

jhedstrom’s picture

Status: Needs review » Reviewed & tested by the community

It seems all the feedback above has been addressed. I think this looks good to go! Will be great to get this long-standing issue fixed!

alexpott’s picture

Status: Reviewed & tested by the community » Needs work
  1. +++ b/core/lib/Drupal/Core/Datetime/Entity/DateFormat.php
    @@ -100,4 +101,22 @@ public function getCacheTagsToInvalidate() {
    +  /**
    +   * {@inheritdoc}
    +   */
    +  public static function postDelete(EntityStorageInterface $storage, array $entities) {
    +    parent::postDelete($storage, $entities);
    +    \Drupal::token()->resetInfo();
    +  }
    +
    +  /**
    +   * {@inheritdoc}
    +   */
    +  public function postSave(EntityStorageInterface $storage, $update = TRUE) {
    +    parent::postSave($storage, $update);
    +    if (!$update) {
    +      \Drupal::token()->resetInfo();
    +    }
    +  }
    

    I'm not sure I agree with @Berdir in #44 - I think this should be done as entity hooks as the tokens are defined by system module and this is core library entity.

  2. +++ b/core/modules/system/system.tokens.inc
    @@ -53,18 +52,18 @@ function system_token_info() {
    +    $date[$date_format->id()] = [
    

    We need to manipulate the name here because we have potential clashes. I.e. is you use custom, since or raw as data format names.

    Another tricky thing is that we can't rename short, medium or long.

    Fun times.

    Earlier comments say

    It's not possible, because of their specialness they've become "reserved".

    Unfortunately the following code works.

    >>> $date_format = \Drupal\Core\Datetime\Entity\DateFormat::create(['id' => 'since', 'label' => 'Since', 'pattern' => 'y']);
    >>> $date_format->save();
    => 1
    >>> \Drupal\Core\Datetime\Entity\DateFormat::load('since')->label();
    => "Since"
    
  3. +++ b/core/modules/system/system.tokens.inc
    @@ -165,16 +164,17 @@ function system_tokens($type, $tokens, array $data, array $options, BubbleableMe
    +    /** @var \Drupal\Core\Entity\EntityStorageInterface $date_format_storage */
    +    $date_format_storage = \Drupal::entityTypeManager()->getStorage('date_format');
    ...
    +      // Date type token replacement.
    +      $date_format = $date_format_storage->load($name);
    +      if ($date_format) {
    +        $bubbleable_metadata->addCacheableDependency($date_format);
    +        $replacements[$original] = \Drupal::service('date.formatter')->format($date, $name, '', NULL, $langcode);
    +        continue;
    +      }
    

    Better to load all the date formats outside of the loops and check if the token name is in the array.

hussainweb’s picture

Version: 8.7.x-dev » 8.8.x-dev
Status: Needs work » Needs review
FileSize
6.92 KB

Doing a rebase first.

hussainweb’s picture

Since this is a bug-report, I am not sure if I should continue to target 8.7.x. If you think we should, please change it back. I only changed it because I rebased this on 8.8.x

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

darvanen’s picture

Status: Needs review » Needs work

Needs patch (or MR) against 9.3.x

Suresh Prabhu Parkala’s picture

Status: Needs work » Needs review
FileSize
6.74 KB

Patch for 9.3.x. Please review.

Status: Needs review » Needs work

The last submitted patch, 67: 1173706-67.patch, failed testing. View results

vsujeetkumar’s picture

Status: Needs work » Needs review
FileSize
6.96 KB
904 bytes

In the last patch #67, Forgot to add class "Drupal\Core\Datetime\Entity\DateFormat" in "TokenReplaceKernelTest.php" file.

Fixed the fail test issue because of the above miss. Please have a look.

darvanen’s picture

Status: Needs review » Needs work

Feedback at #59 from framework manager yet to be addressed.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

DamienMcKenna’s picture

We've hit a problem with Metatag that appears to be related to this: #3271006. The error is:

exception: [User warning] Line 912 of sites/all/modules/token/token.tokens.inc:
Attempting to perform token replacement for token type date without required data

FeyP was able to reproduce it locally and saw it stemmed from the image field on the Article content type that comes with the standard install profile having a default path which creates a per-date directory for storing files, and for some reason it hits this error in certain circumstances.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

larowlan’s picture

FileSize
7.02 KB

Reroll for 9.5.x

larowlan’s picture

Yeah I messed that up

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

franceslui’s picture

Version: 11.x-dev » 10.2.x-dev
Status: Needs work » Needs review
FileSize
7 KB
1.66 KB

I re-roll it to 10.2.x.

smustgrave’s picture

Version: 10.2.x-dev » 11.x-dev
Status: Needs review » Needs work
Issue tags: +Needs issue summary update

Could the issue summary be updated to the standard template.

Also recommend opening an MR as those are quicker to review and test.

Changing back to 11.x as the current development branch.