The Shortcodes API for Drupal 8 is a simple set of methods for creating Drupal 8 shortcodes for use in text fields, modules and themes.
The API enables developers to create special kinds of content that users can attach to certain content by adding the corresponding shortcode into the text fields or processing it in a theme’s or a module’s methods.
The API handles all the tricky parsing, eliminating the need for writing a custom regular expression for each shortcode.
Last Update | 19 October 2016 |
Published | 11 August 2016 |
Compatible Browsers | IE9, IE10, IE11, Firefox, Safari, Opera, Chrome, Edge |
Files Included | JavaScript JS, HTML, CSS, PHP |
Software Version | Drupal 8.2.x, Drupal 8.1.x, Drupal 8.0.x |
Tags | api, ckeditor, coding, custom shortcode, developing, Drupal 8, drupal 8 shortcode, drupal 8 shortcodes, drupal shortcode, drupal shortcodes, programming, shortcode, shortcodes, shortcodes button |