You are here

sortableviews-handle.html.twig in Sortableviews 8

Default twig file for sortableviews_handle.

Available variables:

  • classes: The classes the handle is to have.
  • content: Any content that should be printed as well.
  • dataid: The id of the entity to move.

File

templates/sortableviews-handle.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default twig file for sortableviews_handle.
  5. *
  6. * Available variables:
  7. * - classes: The classes the handle is to have.
  8. * - content: Any content that should be printed as well.
  9. * - dataid: The id of the entity to move.
  10. *
  11. * @ingroup themeable
  12. */
  13. #}
  14. <span class="{{ classes }}" data-id="{{ dataid }}">{{ content }}</span>