As of #2999721: [META] Deprecate the legacy include files before Drupal 9 Drupal core has 4 include files that contain deprecated legacy API only.

Only entity.inc file has 1 call from deprecated API of a user module, so it can be removed after resolving the dependency. See #3087546: Remove deprecated entity manager.

So the scope of this issue remove usages and include of the following files:

  • database.inc
  • unicode.inc
  • tablesort.inc
CommentFileSizeAuthor
#2 3090988-2.patch97.7 KBvoleger

Comments

voleger created an issue. See original summary.

voleger’s picture

Status: Active » Needs review
Issue tags: +Deprecation Removal
StatusFileSize
new97.7 KB

Here the patch

voleger’s picture

Issue summary: View changes
voleger’s picture

Title: Remove deprecated include files » Remove deprecated in Drupal 8 include files

Made title more specific.

berdir’s picture

Really thought there was an issue already for database.inc.

Also, the entity manager issue already removes entity.inc.

berdir’s picture

Also, wondering if we should also use this to remove functions in .inc files that have only been deprecated partially deprecated, e.g. 90% in file.inc, and lots in bootstrap.inc/common.inc?

voleger’s picture

Status: Needs review » Closed (duplicate)

Yes, I noticed that the #3087546: Remove deprecated entity manager cover the removal of entity.inc file.
And yes it is duplicated issue, forgot that was created one before. I'll reupload the patch there #3062757: Remove deprecated legacy include files from Drupal 9 .