Issue #2031467 by tim.plunkett: Fixed The Place blocks button shows on the Configure block page.

8.0.x
webchick 2013-08-09 23:52:52 -07:00
parent bc0570c864
commit 18a03b1f13
1 changed files with 5 additions and 0 deletions

View File

@ -130,6 +130,11 @@ function block_menu() {
'context' => MENU_CONTEXT_NONE, 'context' => MENU_CONTEXT_NONE,
'route_name' => 'block_admin_block_delete', 'route_name' => 'block_admin_block_delete',
); );
$items['admin/structure/block/add/%/%'] = array(
'title' => 'Place block',
'type' => MENU_VISIBLE_IN_BREADCRUMB,
'route_name' => 'block_admin_add',
);
// Block administration is tied to the theme and plugin definition so // Block administration is tied to the theme and plugin definition so
// that the plugin can appropriately attach to this URL structure. // that the plugin can appropriately attach to this URL structure.
// @todo D8: Use dynamic % arguments instead of static, hard-coded theme names // @todo D8: Use dynamic % arguments instead of static, hard-coded theme names