Update to Drupal 8.1.2. For more information, see https://www.drupal.org/project/drupal/releases/8.1.2
This commit is contained in:
parent
9eae24d844
commit
28556d630e
1322 changed files with 6699 additions and 2064 deletions
|
@ -61,7 +61,7 @@ class Toolbar extends RenderElement {
|
|||
* @return array
|
||||
* A renderable array.
|
||||
*
|
||||
* @see toolbar_page_top().
|
||||
* @see toolbar_page_top()
|
||||
*/
|
||||
public static function preRenderToolbar($element) {
|
||||
// Get the configured breakpoints to switch from vertical to horizontal
|
||||
|
|
|
@ -267,7 +267,7 @@ class ToolbarAdminMenuTest extends WebTestBase {
|
|||
t($name, array(), array('langcode' => $langcode));
|
||||
// Reset locale cache.
|
||||
$this->container->get('string_translation')->reset();
|
||||
$this->assertRaw('"edit-languages-' . $langcode .'-weight"', 'Language code found.');
|
||||
$this->assertRaw('"edit-languages-' . $langcode . '-weight"', 'Language code found.');
|
||||
$this->assertText(t($name), 'Test language added.');
|
||||
|
||||
// Have the adminUser request a page in the new language.
|
||||
|
@ -337,7 +337,7 @@ class ToolbarAdminMenuTest extends WebTestBase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Test that subtrees hashes vary by the language of the page.
|
||||
* Test that subtrees hashes vary by the language of the page.
|
||||
*/
|
||||
function testLanguageSwitching() {
|
||||
// Create a new language with the langcode 'xx'.
|
||||
|
|
|
@ -143,5 +143,4 @@ class ToolbarCacheContextsTest extends WebTestBase {
|
|||
$this->container->get('router.builder')->rebuildIfNeeded();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue