adminimal_theme.theme 382 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * @file
  4. * Functions to support theming in the Adminimal theme.
  5. */
  6. use Drupal\Component\Utility\Xss;
  7. use Drupal\Core\Form\FormStateInterface;
  8. /**
  9. * Implements hook_preprocess_HOOK() for HTML document templates.
  10. */
  11. function adminimal_theme_preprocess_html(&$variables) {
  12. // Add adminimal class to the body.
  13. $variables['attributes']['class'][] = 'adminimal';
  14. }