field_ui.manage_display.html.twig

Same filename in other branches
  1. 8.9.x core/modules/help_topics/help_topics/field_ui.manage_display.html.twig
  2. 10 core/modules/field_ui/help_topics/field_ui.manage_display.html.twig
  3. 11.x core/modules/field_ui/help_topics/field_ui.manage_display.html.twig
---
label: 'Configuring field display for an entity sub-type'
related:
  - core.content_structure
  - field_ui.add_field
  - field_ui.manage_form
  - core.ui_accessibility
---
{% set content_types_link_text %}{% trans %}Content types{% endtrans %}{% endset %}
{% set content_types_link = render_var(help_route_link(content_types_link_text, 'entity.node_type.collection')) %}
{% set content_structure_topic = render_var(help_topic_link('core.content_structure')) %}
<h2>{% trans %}Goal{% endtrans %}</h2>
<p>{% trans %}Configure the <em>formatters</em> used to display the fields of an entity sub-type, their order in the display, and the formatter settings. See {{ content_structure_topic }} for background information.{% endtrans %}</p>
<h2>{% trans %}Steps{% endtrans %}</h2>
<ol>
  <li>{% trans %}Navigate to the page for managing the entity type you want to add the field to. For example, to add a field to a content type, in the <em>Manage</em> administrative menu, navigate to <em>Structure</em> &gt; <em>{{ content_types_link }}</em>.{% endtrans %}</li>
  <li>{% trans %}Find the particular sub-type that you want to configure the display of, and click <em>Manage display</em> in the <em>Operations</em> list.{% endtrans %}</li>
  <li>{% trans %}Use the drag arrows to order the fields in your preferred order.{% endtrans %}</li>
  <li>{% trans %}Drag any fields that you do not wish to see in the display to the <em>Disabled</em> section.{% endtrans %}</li>
  <li>{% trans %}In the <em>Label</em> column, select the position for each field label in the display, or <em>- Hidden -</em> to hide a label. You can also choose <em>- Visually Hidden-</em> if you want the label's text to appear in the HTML page, so that screen readers and search engines can read it, but it will not be visible.{% endtrans %}</li>
  <li>{% trans %}In the <em>Format</em> column, select the formatter for displaying each field.{% endtrans %}</li>
  <li>{% trans %}After selecting the desired formatters, click the settings gear in each row to change the settings for the formatter.{% endtrans %}</li>
  <li>{% trans %}When you are done making changes, click <em>Save</em>.{% endtrans %}</li>
  <li>{% trans %}Test the display for your entity sub-type by viewing an entity. If needed, return to these steps to further refine the display.{% endtrans %}</li>
</ol>

File

core/modules/help_topics/help_topics/field_ui.manage_display.html.twig

View source
  1. ---
  2. label: 'Configuring field display for an entity sub-type'
  3. related:
  4. - core.content_structure
  5. - field_ui.add_field
  6. - field_ui.manage_form
  7. - core.ui_accessibility
  8. ---
  9. {% set content_types_link_text %}{% trans %}Content types{% endtrans %}{% endset %}
  10. {% set content_types_link = render_var(help_route_link(content_types_link_text, 'entity.node_type.collection')) %}
  11. {% set content_structure_topic = render_var(help_topic_link('core.content_structure')) %}
  12. <h2>{% trans %}Goal{% endtrans %}</h2>
  13. <p>{% trans %}Configure the <em>formatters</em> used to display the fields of an entity sub-type, their order in the display, and the formatter settings. See {{ content_structure_topic }} for background information.{% endtrans %}</p>
  14. <h2>{% trans %}Steps{% endtrans %}</h2>
  15. <ol>
  16. <li>{% trans %}Navigate to the page for managing the entity type you want to add the field to. For example, to add a field to a content type, in the <em>Manage</em> administrative menu, navigate to <em>Structure</em> &gt; <em>{{ content_types_link }}</em>.{% endtrans %}</li>
  17. <li>{% trans %}Find the particular sub-type that you want to configure the display of, and click <em>Manage display</em> in the <em>Operations</em> list.{% endtrans %}</li>
  18. <li>{% trans %}Use the drag arrows to order the fields in your preferred order.{% endtrans %}</li>
  19. <li>{% trans %}Drag any fields that you do not wish to see in the display to the <em>Disabled</em> section.{% endtrans %}</li>
  20. <li>{% trans %}In the <em>Label</em> column, select the position for each field label in the display, or <em>- Hidden -</em> to hide a label. You can also choose <em>- Visually Hidden-</em> if you want the label's text to appear in the HTML page, so that screen readers and search engines can read it, but it will not be visible.{% endtrans %}</li>
  21. <li>{% trans %}In the <em>Format</em> column, select the formatter for displaying each field.{% endtrans %}</li>
  22. <li>{% trans %}After selecting the desired formatters, click the settings gear in each row to change the settings for the formatter.{% endtrans %}</li>
  23. <li>{% trans %}When you are done making changes, click <em>Save</em>.{% endtrans %}</li>
  24. <li>{% trans %}Test the display for your entity sub-type by viewing an entity. If needed, return to these steps to further refine the display.{% endtrans %}</li>
  25. </ol>

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.