Install
Works with Drupal: ^10.1 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
20.49 KB
MD5: 7e53d095aa697e310cbd889082790ffd
SHA-1: ac30b40052039e394a13dfe480be3b6a7598ece3
SHA-256: f572632b27ed7b5560201c24b0dcad68d7cd51014a78168974db90e6fff13a0f
Download zip
39.28 KB
MD5: 1ea224ca38300afd3ca13fdee8c1d693
SHA-1: 506163994d0334405f9a28a1159f023bdcf40611
SHA-256: 082450c81af8e1afc5bf307c9fb4fdae6ef65fd5637000df5b9449db0cfeba9c
Release notes
Bug fix release.
- Fixed fatal error
Error: Call to a member function hasField() on null in Drupal\ept_sticky_menu\Hook\EptStickyMenuHooks::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.