Move _gin_toolbar_gin_is_active() to a service

Created on 1 February 2023, almost 2 years ago

Our team needed the ability to force the toolbar to be active based on the current theme. The _gin_toolbar_gin_is_active() helper function seemed to do most of what we needed, but didn't account for dynamic theme switching based on path, etc. To that end, we decided to patch the module and move the contents of the function to a new service, to be called as needed by dependent modules.

โœจ Feature request
Status

Active

Version

1.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States natemow

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024