You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/block/block.module
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ function block_help($path, $arg) {
32
32
case 'admin/structure/block/add':
33
33
return '<p>' . t('Use this page to create a new custom block. New blocks are disabled by default, and must be moved to a region on the <a href="@blocks">blocks administration page</a> to be visible.', array('@blocks' => url('admin/structure/block'))) . '</p>';
$output = '<p>' . t('This page provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions. Since not all themes implement the same regions, or display regions in the same way, blocks are positioned on a per-theme basis. Remember that your changes will not be saved until you click the <em>Save blocks</em> button at the bottom of the page. Click the <em>configure</em> link next to each block to configure its specific title and visibility settings.') . '</p>';
@@ -302,13 +302,13 @@ function _block_get_renderable_array($list = array()) {
302
302
* @param $theme
303
303
* The theme to rehash blocks for. If not provided, defaults to the currently
304
304
* used theme.
305
-
*
305
+
*
306
306
* @return
307
307
* Blocks currently exported by modules.
308
308
*/
309
309
function _block_rehash($theme = NULL) {
310
310
global $theme_key;
311
-
311
+
312
312
drupal_theme_initialize();
313
313
314
314
if (!isset($theme)) {
@@ -843,7 +843,7 @@ function _block_render_blocks($region_blocks) {
843
843
*/
844
844
function _block_get_cache_id($block) {
845
845
global $user;
846
-
846
+
847
847
// User 1 being out of the regular 'roles define permissions' schema,
848
848
// it brings too many chances of having unwanted output get in the cache
849
849
// and later be served to other users. We therefore exclude user 1 from
@@ -906,7 +906,7 @@ function template_preprocess_block(&$variables) {
@@ -363,14 +363,14 @@ class FieldSqlStorageTestCase extends DrupalWebTestCase {
363
363
$this->assertTrue($indexes["{$field_name}_value_format"] == array(1 => "{$field_name}_value", 2 => "{$field_name}_format"), t("Index on value_format created in $table"));
364
364
$this->assertTrue(empty($indexes["{$field_name}_value"]), t("Index on value removed in $table"));
0 commit comments