You are here

config.import_single.html.twig in Drupal 9

---
label: 'Importing a single configuration item'
related:
- core.config_overview
- config.export_full
- config.import_full
- config.export_single
---
{% set single_import = render_var(url('config.import_single')) %}
{% set export_single_topic = render_var(help_topic_link('config.export_single')) %}
{% set config_overview_topic = render_var(help_topic_link('core.config_overview')) %}
<h2>{% trans %}Goal{% endtrans %}</h2>
<p>{% trans %}Import a single configuration item in YAML format, such as one that was previously exported (see {{ export_single_topic }}). See {{ config_overview_topic }} for more information about configuration.{% endtrans %}</p>
<h2>{% trans %}Steps{% endtrans %}</h2>
<ol>
  <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> &gt; <em>Development</em> &gt; <em>Configuration synchronization</em> &gt; <em>Import</em> &gt; <a href="{{ single_import }}"><em>Single item</em></a>.{% endtrans %}</li>
  <li>{% trans %}Select the <em>Configuration type</em> that you want to import.{% endtrans %}</li>
  <li>{% trans %}On your computer or other device, copy the YAML-format configuration that you want to import to the clipboard.{% endtrans %}</li>
  <li>{% trans %}Paste the clipboard text into the box labeled <em>Paste your configuration here</em>.{% endtrans %}</li>
  <li>{% trans %}Click <em>Import</em>.{% endtrans %}</li>
</ol>

File

core/modules/help_topics/help_topics/config.import_single.html.twig
View source
  1. ---
  2. label: 'Importing a single configuration item'
  3. related:
  4. - core.config_overview
  5. - config.export_full
  6. - config.import_full
  7. - config.export_single
  8. ---
  9. {% set single_import = render_var(url('config.import_single')) %}
  10. {% set export_single_topic = render_var(help_topic_link('config.export_single')) %}
  11. {% set config_overview_topic = render_var(help_topic_link('core.config_overview')) %}
  12. <h2>{% trans %}Goal{% endtrans %}</h2>
  13. <p>{% trans %}Import a single configuration item in YAML format, such as one that was previously exported (see {{ export_single_topic }}). See {{ config_overview_topic }} for more information about configuration.{% endtrans %}</p>
  14. <h2>{% trans %}Steps{% endtrans %}</h2>
  15. <ol>
  16. <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> &gt; <em>Development</em> &gt; <em>Configuration synchronization</em> &gt; <em>Import</em> &gt; <a href="{{ single_import }}"><em>Single item</em></a>.{% endtrans %}</li>
  17. <li>{% trans %}Select the <em>Configuration type</em> that you want to import.{% endtrans %}</li>
  18. <li>{% trans %}On your computer or other device, copy the YAML-format configuration that you want to import to the clipboard.{% endtrans %}</li>
  19. <li>{% trans %}Paste the clipboard text into the box labeled <em>Paste your configuration here</em>.{% endtrans %}</li>
  20. <li>{% trans %}Click <em>Import</em>.{% endtrans %}</li>
  21. </ol>