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.
Add API documentation. Make sure that configuration parameters and working with translations are included. Add suitable examples too.
See the documentation in the process plugins for format examples.
Comment | File | Size | Author |
---|---|---|---|
#12 | interdiff_9-12.txt | 892 bytes | heddn |
#12 | 2862655-12.patch | 2.14 KB | heddn |
Comments
Comment #2
jofitz CreditAttribution: jofitz at ComputerMinds commentedHere's a first draft, I have added:
Comment #3
phenaproximaSelf-assigning for review.
Comment #4
phenaproximaShould be "Persists data..."
The 'store null' option is not mentioned.
This explanation is incomplete. It should mention that the saved value will really be node.settings:use_admin_theme (with nicer phrasing).
Again, this should be a little more explicit as to what the destination property will be.
Nit: There should be a newline before this.
Comment #5
jofitz CreditAttribution: jofitz at ComputerMinds commentedComment #6
heddnAssigning to review this week.
Comment #7
Dinesh18 CreditAttribution: Dinesh18 as a volunteer commentedI have reviewed the patch mentioned in comment #5, covered all the changes mentioned in #4.
Looks good.
Comment #8
heddnWhat happens if the value is TRUE?
Wouldn't this become
node.settings.use_admin_theme
?Wouldn't this become:
Comment #9
jofitz CreditAttribution: jofitz at ComputerMinds commentedMade all 3 corrections identified in #8.
Comment #10
phenaproximaI think this reads perfectly. It has my blessing. Let's git 'er done!
Comment #11
heddnNit: We aren't being consistent. Over in #2862661-5: Add documentation to EntityConfigBase destination plugin.2 we don't like the wording for translations. Working on some fixes.
Comment #12
heddnComment #13
quietone CreditAttribution: quietone as a volunteer commentedThanks @heddn, that is a much better explanation of the translations key.
Comment #16
catchCommitted/pushed to 8.4.x and cherry-picked to 8.3.x., thanks!