Skip to content

Instantly share code, notes, and snippets.

@rlnorthcutt
Last active October 19, 2018 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rlnorthcutt/6c08a436a2c75f7126573245ce20a2bb to your computer and use it in GitHub Desktop.
Save rlnorthcutt/6c08a436a2c75f7126573245ce20a2bb to your computer and use it in GitHub Desktop.
Drupal 8 modal link
Easily create a modal link in Drupal
p><a class="use-ajax" data-dialog-options="{&quot;width&quot;:800}" data-dialog-type="modal" href="/node/2">See node 2</a></p>
source: https://befused.com/drupal/modal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment