Skip to content
Snippets Groups Projects
Unverified Commit c69f8bd4 authored by weaver299's avatar weaver299 Committed by GitHub
Browse files

Merge pull request #373 from ASCWebServices/canini-2

d9 readiness for custom themes
parents 35e21417 7f18127d
No related merge requests found
core: 8.x
core_version_requirement: ^8 || ^9
type: theme
base theme: bootstrap
......
......@@ -12,7 +12,7 @@
function asc_bootstrap_preprocess_page(&$vars, $hook) {
// Render the library as laid out in herchel.libraries.yml
$libraries['#attached']['library'][] = 'asc_bootstrap/asc_bootstrap-corescripts';
drupal_render($libraries);
\Drupal::service('renderer')->render($libraries);
//adds site name variable which is used as logo alt and title text
$vars['site_name'] = \Drupal::config('system.site')->get('name');
......
core: 8.x
core_version_requirement: ^8 || ^9
type: theme
base theme: bootstrap
......
......@@ -18,7 +18,7 @@ description: 'Adds custom CSS to default administration theme for Drupal 8.'
alt text: 'Default administration theme for Drupal 8 with simple blocks, clean lines, and custom CSS.'
package: Core
version: VERSION
core: 8.x
core_version_requirement: ^8 || ^9
regions:
header: 'Header'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment