Install
Works with Drupal: ^10.1 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
21.18 KB
MD5: 6fdf998b78acaa5c3f48b9d361a55dc3
SHA-1: 5a845cc6816e79fe465f5d8581d4acce03de27d7
SHA-256: 5af5b3a0055984e4de40b05c5f9303b6e3137d1265c89724db0c9bf2ee464e93
Download zip
40.66 KB
MD5: 54b8ae94ee271788ba280315a57635b9
SHA-1: beda836b3174398f0f26cc0030603158dc103327
SHA-256: 5609eef683e968ae0c7adad154d5637d4e083124f78d2c2ede971244490464c3
Release notes
Bug fix release.
- Fixed fatal error
Error: Call to a member function hasField() on null in Drupal\ebt_sticky_menu\Hook\EbtStickyMenuHooks::preprocessParagraph(). Newer Paragraphs versions register their preprocess as an "initial preprocess" callback, which did not run for the sticky menu link templates, so$variables['paragraph']was never set.- The sticky menu link templates now inherit the base
paragraphhook's "initial preprocess" callback. preprocessParagraph()now reads the paragraph entity from$variables['elements']['#paragraph'].
- The sticky menu link templates now inherit the base
Clear caches after updating (drush cr) so the theme registry is rebuilt.