content_snippets 2.0.1

Bug fixes

Fixes a bug where sites with no snippet values configured would see PHP errors until one was created.

content_snippets 2.0.0

Bug fixes
New features

This release moves to the new version tagging style, restructures the content configuration file, and adds a little helper to use snippets in menu tab names created in yml.

## Changes since 8.x-1.4

content_snippets 8.x-1.4

Bug fixes
Unsupported

Bugfixes and some code cleanup/refactor:

  • Force content_snippets_retrieve to return NULL when snippet is empty
  • Adding snippet description to token info
  • Form code cleanup/removing unused code
  • Use the global function for fetching snippet value

content_snippets 8.x-1.3

Bug fixes
New features
Unsupported

This release allows text_format snippets with html to render safely in twig templates based on their filter, without asking for a raw value. It also includes other bugfixes and code cleanup.

content_snippets 8.x-1.2

New features
Unsupported

This release includes 1 and 1/2 new features, and a little UX cleanup:

#3164606 is resolved, adding the ability to use the filter module input to load up wysiwyg for your content snippets.
This also fixes a bug where the "snippets" editing page didn't appear in the content menu.

content_snippets 8.x-1.1

New features
Unsupported

This release includes major improvement to the admin and content editor UX, allowing snippets to have more identifying information than their machine name: a Label, a Description, a sort order (weight) and a "group" can be specified, all of which are used to lay out the Content Editor's "Snippets" page.

We now support number snippets as well as basic and long text snippets.

This release is drupal 9.x compatible.

content_snippets 8.x-1.0

Bug fixes
Unsupported

Changes from 8.x-alpha2:

  • Improved usage instructions in Readme and help text
  • Fixed permissions bug which used the wrong permissions for menu items
  • Minor usability polish

Upgrade instructions:

There are no upgrade issues from alpha versions, although you may want to review your permissions settings in case you were working around the inverted permissions application bug.

content_snippets 8.x-1.0-alpha2

New features
Unsupported

Adds snippet availability in twig files (see Readme for usage).

content_snippets 8.x-1.0-alpha1

New features
Unsupported

Initial alpha release of the module. Module is fully-functional but needs testing and UX work.

Subscribe with RSS Subscribe to Releases for Content Snippets