Update to Drupal 8.0-dev-2015-11-17. Commits through da81cd220, Tue Nov 17 15:53:49 2015 +0000, Issue #2617224 by Wim Leers: Move around/fix some documentation.

This commit is contained in:
Pantheon Automation 2015-11-17 13:42:33 -08:00 committed by Greg Anderson
parent 4afb23bbd3
commit 7784f4c23d
929 changed files with 19798 additions and 5304 deletions

View file

@ -1464,6 +1464,7 @@ function system_update_8005() {
break;
case 'classy':
case 'stable':
// Don't place any blocks or trigger custom themes installed warning.
break;
@ -1541,6 +1542,7 @@ function system_update_8006() {
case 'seven':
case 'classy':
case 'stable':
// Don't place any blocks or trigger custom themes installed warning.
break;
default:
@ -1805,23 +1807,6 @@ function system_update_8011() {
_system_update_create_block($name, $theme_name, $values);
}
/**
* Install the Stable base theme if needed.
*/
function system_update_8012() {
$theme_handler = \Drupal::service('theme_handler');
// Ensure we have fresh info.
$theme_handler->rebuildThemeData();
foreach ($theme_handler->listInfo() as $theme) {
// We first check that a base theme is set because if it's set to false then
// it's unset in \Drupal\Core\Extension\ThemeHandler::rebuildThemeData().
if (isset($theme->info['base theme']) && $theme->info['base theme'] == 'stable') {
$theme_handler->install(['stable']);
return;
}
}
}
/**
* Enable automated cron module and move the config into it.
*/
@ -1847,3 +1832,31 @@ function system_update_8013() {
/**
* @} End of "addtogroup updates-8.0.0-beta".
*/
/**
* @addtogroup updates-8.0.0-rc
* @{
*/
/**
* Install the Stable base theme if needed.
*/
function system_update_8014() {
$theme_handler = \Drupal::service('theme_handler');
if ($theme_handler->themeExists('stable')) {
return;
}
$theme_handler->refreshInfo();
foreach ($theme_handler->listInfo() as $theme) {
// We first check that a base theme is set because if it's set to false then
// it's unset in \Drupal\Core\Extension\ThemeHandler::rebuildThemeData().
if (isset($theme->info['base theme']) && $theme->info['base theme'] == 'stable') {
$theme_handler->install(['stable']);
return;
}
}
}
/**
* @} End of "addtogroup updates-8.0.0-rc".
*/