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
Namespace
Drupal\site_audit\RendererCode
private function getStyles() {
$file = drupal_get_path('module', 'site_audit') . '/css/bootstrap-overrides.css';
$styles = "/* {$file} */\n" . file_get_contents($file);
return $styles;
}