You are here

private function Html::getStyles in Site Audit 8.3

Provide the bootstrap derived styles.

1 call to Html::getStyles()
Html::checkBootstrap in src/Renderer/Html.php
Check to see if the bootstrap option was selected and wrap in HTMl and add bootstrap derived styles is so.

File

src/Renderer/Html.php, line 370

Class

Html

Namespace

Drupal\site_audit\Renderer

Code

private function getStyles() {
  $file = drupal_get_path('module', 'site_audit') . '/css/bootstrap-overrides.css';
  $styles = "/* {$file} */\n" . file_get_contents($file);
  return $styles;
}