Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ValeriiVasyliev/98e5fd6e860da45656be2ee5a71dd21f to your computer and use it in GitHub Desktop.
Save ValeriiVasyliev/98e5fd6e860da45656be2ee5a71dd21f to your computer and use it in GitHub Desktop.
Drupal 8. Get list installed themes
<?php
$themesList = array_keys( \Drupal::service('theme_handler')->listInfo() );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment