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:
parent
4afb23bbd3
commit
7784f4c23d
929 changed files with 19798 additions and 5304 deletions
BIN
core/modules/system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz
vendored
Normal file
BIN
core/modules/system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz
vendored
Normal file
Binary file not shown.
BIN
core/modules/system/tests/fixtures/update/drupal-8-rc1.filled.standard.php.gz
vendored
Normal file
BIN
core/modules/system/tests/fixtures/update/drupal-8-rc1.filled.standard.php.gz
vendored
Normal file
Binary file not shown.
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
|
||||
namespace Drupal\test_page_test\Controller;
|
||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
||||
|
||||
/**
|
||||
* Defines a test controller for page titles.
|
||||
|
@ -75,4 +76,14 @@ class Test {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Throws a HTTP exception.
|
||||
*
|
||||
* @param int $code
|
||||
* The status code.
|
||||
*/
|
||||
public function httpResponseException($code) {
|
||||
throw new HttpException($code);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -42,3 +42,11 @@ test_page_test.admin_render_title:
|
|||
_controller: '\Drupal\test_page_test\Controller\Test::renderTitle'
|
||||
requirements:
|
||||
_access: 'TRUE'
|
||||
|
||||
test_page_test.http_response_exception:
|
||||
path: '/test-http-response-exception/{code}'
|
||||
defaults:
|
||||
_controller: '\Drupal\test_page_test\Controller\Test::httpResponseException'
|
||||
code: 200
|
||||
requirements:
|
||||
_access: 'TRUE'
|
||||
|
|
|
@ -135,6 +135,7 @@ class MenuLinkTreeTest extends UnitTestCase {
|
|||
'max-age' => Cache::PERMANENT,
|
||||
],
|
||||
'#sorted' => TRUE,
|
||||
'#menu_name' => 'mock',
|
||||
'#theme' => 'menu__mock',
|
||||
'#items' => [
|
||||
// To be filled when generating test cases, using $get_built_element().
|
||||
|
|
|
@ -44,6 +44,10 @@ class SystemLocalTasksTest extends LocalTaskIntegrationTestBase {
|
|||
->will($this->returnValue(array(
|
||||
'bartik' => $theme,
|
||||
)));
|
||||
$this->themeHandler->expects($this->any())
|
||||
->method('hasUi')
|
||||
->with('bartik')
|
||||
->willReturn(TRUE);
|
||||
$this->container->set('theme_handler', $this->themeHandler);
|
||||
}
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@ description: 'Test theme which acts as a base theme for other test subthemes.'
|
|||
version: VERSION
|
||||
core: 8.x
|
||||
base theme: false
|
||||
hidden: true
|
||||
|
||||
libraries:
|
||||
- test_basetheme/global-styling
|
||||
stylesheets-remove:
|
||||
|
|
|
@ -44,12 +44,12 @@ libraries-override:
|
|||
core/drupal.dropbutton:
|
||||
css:
|
||||
component:
|
||||
misc/dropbutton/dropbutton.css: /themes/my_theme/css/dropbutton.css
|
||||
/core/themes/stable/css/core/dropbutton/dropbutton.css: /themes/my_theme/css/dropbutton.css
|
||||
# Use stream wrappers.
|
||||
core/drupal.vertical-tabs:
|
||||
css:
|
||||
component:
|
||||
misc/vertical-tabs.css: public://my_css/vertical-tabs.css
|
||||
/core/themes/stable/css/core/vertical-tabs.css: public://my_css/vertical-tabs.css
|
||||
# Use a protocol-relative URI.
|
||||
core/jquery.ui:
|
||||
css:
|
||||
|
|
Reference in a new issue