Commit 2dd03688 authored by Liam Morland's avatar Liam Morland
Browse files

Coding standards

parent 0016e4c7
......@@ -11,7 +11,7 @@ use Symfony\Component\Routing\RouteCollection;
class RouteSubscriber extends RouteSubscriberBase {
/**
*
* Change title for content creation.
*/
protected function alterRoutes(RouteCollection $collection) {
if ($route = $collection->get('workbench.all_content')) {
......
......@@ -24,11 +24,11 @@ function uw_sites_all_install() {
$feed->save();
}
// Make sure the theme is installed
// Make sure the theme is installed.
$theme_handler = \Drupal::service('theme_handler');
$theme_handler->install(['uw_theme_admin']);
// Set it as the admin theme
// Set it as the admin theme.
$config = \Drupal::service('config.factory')->getEditable('system.theme');
$config->set('admin', 'uw_theme_admin')->save();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment