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.
Problem/Motivation
This issue is to add documentation for the following source plugins:
- d7/Field.php
- d7/FieldableEntity.php
- d7/FieldInstancePerFormDisplay.php
- d7/FieldInstancePerViewMode.php
- d7/FieldInstance.php *
- d7/FieldLabelDescriptionTranslation.php
- d7/FieldOptionTranslation.php
Proposed resolution
Do it.
Remaining tasks
Review, commit.
Issue fork drupal-3204986
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:
- 3204986-d7-field-plugins-documentation changes, plain diff MR !452
Comments
Comment #3
MatroskeenReady for review 😋
d7_field_instance_per_form_display
plugin looks interesting, because it just overridesgetIds()
method.The same plugin for d6 version also overrides query and iterator, that's why I'm suspicious. I'll try to have another look when I have time and will create a follow-up if necessary.
Comment #4
MatroskeenComment #5
quietone CreditAttribution: quietone as a volunteer commentedI was wondering when you would do 'fields'. And here it is and a nice job it is.
Comment #6
Matroskeen@quietone thanks! I was wondering as well... it was hard to find some spare time recently.
Pushed one more commit and commented in MR.
Comment #7
quietone CreditAttribution: quietone as a volunteer commented@Matroskeen, Oh, we disagree on one point - I had a feeling fields would take more effort. :-)
Comment #8
MatroskeenI wouldn't think disagree, we were just looking from different angles. 😉Now I think your comment makes sense, so made another attempt.
Comment #9
quietone CreditAttribution: quietone as a volunteer commentedSorry, one more item for both Field.php and FieldInstance.php.
Comment #10
MatroskeenNo worries :)
Comment #11
quietone CreditAttribution: quietone as a volunteer commented@Matroskeen, Thank you!
I reread all the comments and this is ready to go. Really nice to have the fields done.
Comment #12
alexpottCommitted and pushed 26c10ba29f to 9.2.x and 74f21c4552 to 9.1.x. Thanks!
As this is a docs improvement backported to 9.1.x.