Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently the .info.yml file of all core themes contains the line:
package: Core
What is the purpose of this line? /appearance does not display content in packages like /modules does.
Is this in error?
Comment | File | Size | Author |
---|---|---|---|
#4 | remove_package-2873834-4.patch | 2.31 KB | NonProfit |
Comments
Comment #2
joelpittetThat's a good question... I don't know. It could allow the interface to group themes together but as you mentioned it doesn't do that.
Maybe since you have this as a Bug report, you'd like to propose a way forward to resolve it in the issue summary and re-title?
Comment #3
joelpittetJust for reference it's documented here and any proposed changes would need to update this doc as well. https://www.drupal.org/node/2349827
Comment #4
NonProfit CreditAttribution: NonProfit at GoGrow.org commentedPatch attached which removes package from bartik.info.yml, classy.info.yml, seven.info.yml, stable.info.yml, and stark.info.yml.
Comment #5
Dinesh18 CreditAttribution: Dinesh18 as a volunteer commentedI have applied the patch and it is working as expected.
Changing the status to RTBC.
Comment #6
Gábor HojtsyWhy is it a problem that the info files have this line? What problem does this cause?
Comment #7
NonProfit CreditAttribution: NonProfit at GoGrow.org commentedHello Dinesh18,
Thank you for taking the time to test the patch.
Hello Gábor,
Thanks for your comment. I can't say that it poses a problem, but as far as I can tell, the lines do not benefit us either. If they serve no purpose, why include them?
Comment #8
Gábor HojtsyIs this data not exposed / accessible on the API? Looks to me like if we can use this data to tell core themes from contrib themes it is very useful to have.
Comment #9
NonProfit CreditAttribution: NonProfit at GoGrow.org commentedGábor, point taken. Thanks for your insight.