Problem/Motivation

The module is deprecated and should be removed

https://www.drupal.org/node/3223395#s-field-layout

Proposed resolution

  • Remove the extension ;-).
  • Update Update path tests as needed. See Writing Automated Update Tests for Drupal 8 (or later) for details.
  • Remove references from core/phpstan-baseline.neon.
  • Remove any spelling words specific to the extension from the dictionary
  • Add the extension to the relevant removed list, either DRUPAL_CORE_REMOVED_MODULE_LIST in system.install.
  • Check for references in @todo.
  • Handle migration tests.
    • In all the functional tests in migrate_drupal_ui make sure that History is not installed. Field Layout should also be removed from the methods getAvailablePaths() and moved to getMissingPaths() in the tests using those methods.

Remaining tasks

remove with all references

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

The deprecated Field Layout module has been moved to contrib.

Issue fork drupal-3571609

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

andypost created an issue. See original summary.

andypost’s picture

Status: Active » Needs review

MR is green, looks ready

dcam’s picture

Status: Needs review » Reviewed & tested by the community
  • The extension is removed.
  • This doesn't need to be removed from update tests.
  • The baseline has been updated.
  • The spelling dictionary doesn't need to be updated.
  • The extension was added to the removed list.
  • I didn't find any references to "field_layout" anywhere, including @todo comments.
  • Migration tests don't need to be updated.

This looks good to me. The change record was apparently copied and pasted from the History module removal CR because there were several references to it still in the text that didn't get removed. I edited it.

  • longwave committed 7a7ba61e on main
    task: #3571609 Remove Field Layout module from core
    
    By: andypost
    By:...
longwave’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed
Issue tags: -Needs release note

Updated the CR to say Drupal 12 instead of 11, this is only being removed from main.

Committed and pushed 7a7ba61ec25 to main. Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

quietone’s picture

Issue tags: +12.0.0 release notes