Commit 2fd888c4 authored by catch's avatar catch
Browse files

Issue #2193477 by larowlan: No page title on admin/structure/block/list/{theme}.

parent e3dfcf93
......@@ -33,6 +33,7 @@ block.admin_display_theme:
path: 'admin/structure/block/list/{theme}'
defaults:
_content: '\Drupal\block\Controller\BlockListController::listing'
_title: 'Block layout'
requirements:
_access_theme: 'TRUE'
_permission: 'administer blocks'
......
......@@ -161,6 +161,8 @@ public function testBlockThemeSelector() {
theme_enable(array('bartik', 'seven'));
$theme_settings = $this->container->get('config.factory')->get('system.theme');
foreach (array('bartik', 'stark', 'seven') as $theme) {
$this->drupalGet('admin/structure/block/list/' . $theme);
$this->assertTitle(t('Block layout') . ' | Drupal');
// Select the 'Powered by Drupal' block to be placed.
$block = array();
$block['id'] = strtolower($this->randomName());
......
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