You are here

yamlform-handler-remote-post-summary.html.twig in YAML Form 8

Default theme implementation for a summary of a form remote posts handler.

Available variables:

  • settings: The current configuration for this remote post handler:
  • handler: The handler information, including:
    • id: The handler plugin id.
    • handler_id: The handler id.
    • label: The handler label.
    • description: The handler description.

File

templates/yamlform-handler-remote-post-summary.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a summary of a form remote posts handler.
  5. *
  6. * Available variables:
  7. * - settings: The current configuration for this remote post handler:
  8. * - handler: The handler information, including:
  9. * - id: The handler plugin id.
  10. * - handler_id: The handler id.
  11. * - label: The handler label.
  12. * - description: The handler description.
  13. *
  14. * @ingroup themeable
  15. */
  16. #}
  17. {% if settings.debug %}<b class="color-error">{{ 'Debugging is enabled'|t }}</b><br/>{% endif %}
  18. <b>{{ 'Insert URL:'|t }}</b> {{ settings.insert_url }}<br/>
  19. {% if settings.update_url %}<b>{{ 'Update URL:'|t }}</b> {{ settings.update_url }}<br/>{% endif %}
  20. {% if settings.delete_url %}<b>{{ 'Delete URL:'|t }}</b> {{ settings.delete_url }}<br/>{% endif %}
  21. <b>{{ 'Type:'|t }}</b> {{ settings.type }}<br/>