Skip to content

Instantly share code, notes, and snippets.

@sonnykt
Last active July 26, 2024 03:36
Show Gist options
  • Save sonnykt/fb9ba6c5acd079cc75678d23b21d8fac to your computer and use it in GitHub Desktop.
Save sonnykt/fb9ba6c5acd079cc75678d23b21d8fac to your computer and use it in GitHub Desktop.
Drupal 10 - decode CSS/JS aggregated include string
use Drupal\Component\Utility\UrlHelper;

$include = 'eJx...';
explode(',',UrlHelper::uncompressQueryParameter($include));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment