Move all files to drupal-tailwindcss-purgecss-test/
This commit is contained in:
parent
7787c4e47d
commit
0909b92d81
56 changed files with 0 additions and 0 deletions
|
@ -1,18 +0,0 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Functions to support theming in the Tailwind CSS theme.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_preprocess_HOOK().
|
||||
*/
|
||||
function tailwindcss_preprocess_block(&$variables) {
|
||||
if ($variables['base_plugin_id'] == 'system_branding_block') {
|
||||
$variables['site_logo'] = '';
|
||||
if ($variables['content']['site_logo']['#access'] && $variables['content']['site_logo']['#uri']) {
|
||||
$variables['site_logo'] = str_replace('.svg', '.png', $variables['content']['site_logo']['#uri']);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue