-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Close #3913 Add new content field to publication. #3914
base: main
Are you sure you want to change the base?
Conversation
It was determined that we should include the new content field as a paragraphs field. |
…ub.com:az-digital/az_quickstart into issue/3913-add-content-field-to-az-publication
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Field works as designed. All good as far as I can see :)
Add paragraphs as a dependency of az_publication. |
Looks like that dependency already exists: https://github.com/az-digital/az_quickstart/blob/issue/3913-add-content-field-to-az-publication/modules/custom/az_publication/az_publication.info.yml#L35 |
To follow up on a question that came up on Wednesday about the heading text for the main content field: it seems difficult to come up with an appropriate heading that would account for all situations. I think we could make the heading customizable as Cameron suggested as an option or we could skip adding the heading and just add a small amount of extra margin above that field to set it apart from the other content. I still think the Publication File should have a heading or some kind of label--whatever you think is best! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use full text for the label instead of publication. |
Description
This Pull Request adds a new field and some demo content for the az_publication content type.
The new field has been added as hidden on each existing display mode except for the default display.
The new field has been added to the bottom of the az_publication edit/create form
Related issues
Close #3913
How to test
Create a new publication
Scroll to bottom of publication form and see field labelled page elements.
Add some elements and save the publication.
View how the publication is displayed.
Types of changes
Arizona Quickstart (install profile, custom modules, custom theme)
Drupal core
Drupal contrib projects
Checklist