diff --git a/core/modules/block/block.module b/core/modules/block/block.module
index 13ab11b..02916fe 100644
--- a/core/modules/block/block.module
+++ b/core/modules/block/block.module
@@ -40,7 +40,7 @@ function block_help($route_name, RouteMatchInterface $route_match) {
$output .= '
' . t('If the Custom Block module is installed, you can create and add your own blocks using fields and customizable display settings. For more information, see the Custom Block help page.', array('!blockcontent-help' => $block_content)) . '';
$output .= '';
return $output;
-
+
case 'block.admin_display':
case 'block.admin_display_theme':
$demo_theme = $route_match->getParameter('theme') ?: \Drupal::config('system.theme')->get('default');
diff --git a/core/modules/block/js/block.admin.js b/core/modules/block/js/block.admin.js
index 79a522f..1dd26f9 100644
--- a/core/modules/block/js/block.admin.js
+++ b/core/modules/block/js/block.admin.js
@@ -19,7 +19,7 @@
Drupal.behaviors.blockFilterByText = {
attach: function (context, settings) {
var $input = $('input.block-filter-text').once('block-filter-text');
- var $table = $($input.attr('data-element'));;
+ var $table = $($input.attr('data-element'));
var $filter_rows;
function filterBlockList(e) {
@@ -28,8 +28,8 @@
/**
* Shows or hides the block entry based on the query.
*
- * @param {number} index
- * @param {HTMLElement} label
+ * @param {number} index The index of the block.
+ * @param {HTMLElement} label The label of the block.
*/
function showBlockEntry(index, label) {
var $label = $(label);
@@ -43,7 +43,7 @@
$filter_rows.each(showBlockEntry);
}
else {
- $filter_rows.each(function(index) {
+ $filter_rows.each(function (index) {
$(this).parent().parent().show();
});
}
diff --git a/core/modules/block/src/Controller/BlockListController.php b/core/modules/block/src/Controller/BlockListController.php
index 3c674eb..0d70b69 100644
--- a/core/modules/block/src/Controller/BlockListController.php
+++ b/core/modules/block/src/Controller/BlockListController.php
@@ -76,7 +76,7 @@ public function layout($theme) {
['data' => $this->t('Category'), 'field' => 'category', 'sort' => 'asc'],
['data' => $this->t('Operations')],
];
-
+
// Only add blocks which work without any available context.
$definitions = $this->blockManager->getDefinitionsForContexts();
// Do not display the 'broken' plugin in the UI.
diff --git a/core/modules/block_content/src/Controller/BlockContentController.php b/core/modules/block_content/src/Controller/BlockContentController.php
index bceb220..6e3ae86 100644
--- a/core/modules/block_content/src/Controller/BlockContentController.php
+++ b/core/modules/block_content/src/Controller/BlockContentController.php
@@ -111,9 +111,9 @@ public function addForm(BlockContentTypeInterface $block_content_type, Request $
'type' => $block_content_type->id()
));
if (($theme = $request->query->get('theme')) && in_array($theme, array_keys($this->themeHandler->listInfo()))) {
- // We have navigated to this page from the block listing and will keep track
- // of the theme for redirecting the user to the configuration page for the
- // newly created block in the given theme.
+ // We have navigated to this page from the block listing and will keep
+ // track of the theme for redirecting the user to the configuration page
+ // for the newly created block in the given theme.
$block->setTheme($theme);
}
return $this->entityFormBuilder()->getForm($block);