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.
When attempting to "Enable AMP in Custom Display Settings" on D7, field_ui module must be enabled. This step is currently missing from the instructions.
Comment | File | Size | Author |
---|---|---|---|
#12 | 2729579-12-field-ui.patch | 973 bytes | mtift |
#8 | 2729579-8-field-ui.patch | 1.27 KB | mtift |
Comments
Comment #2
markdorisonI am guessing this may be in issue on the 8.x branch as well but I have yet to confirm. In addition to adding documentation, it may be beneficial to display a warning or help text on the AMP configuration page that links to the different content types' 'display settings' configuration.
Comment #3
markdorisonComment #4
mtiftGood catch. Perhaps we could just do this?
Comment #5
RainbowArrayShould be "In order to enable and disable..."
Otherwise looks solid.
You could choose to use the short array syntax, [] instead of array(). Fine not to change that in this patch though.
Comment #6
mtiftGood catches
Comment #7
RainbowArrayLooks good.
Comment #8
mtiftWeird. That patch didn't apply, and it was for the wrong branch. But I'm going to assume this is one will work.
Comment #10
mtiftCommitted to 8.x-1.x.
Comment #11
mtiftHere's a Drupal 7 version
Comment #12
mtiftLet's try that again.
Comment #13
RainbowArrayLooks good.
Comment #15
mtiftCommitted to 7.x-1.x