Since we no longer have the per user block functionality in core these constants are no longer required.

/**
 * Users cannot control whether or not they see this block.
 */
const BLOCK_CUSTOM_FIXED = 0;

/**
 *  Shows this block by default, but lets individual users hide it.
 */
const BLOCK_CUSTOM_ENABLED = 1;

/**
 * Hides this block by default but lets individual users show it.
 */
const BLOCK_CUSTOM_DISABLED = 2;

I'll be adding them into the contrib module for the per user block feature: see #1871854: Decide whether to restore per-user block visibility or provide it in contrib

Files: 
CommentFileSizeAuthor
#1 remove-unused-block-constants-2078675-1.patch677 bytesbenjy
PASSED: [[SimpleTest]]: [MySQL] 58,816 pass(es). View

Comments

benjy’s picture

Status: Active » Needs review
FileSize
677 bytes
PASSED: [[SimpleTest]]: [MySQL] 58,816 pass(es). View

Patch attached no longer used constants. They will be re-added along with the per user block functionality in contrib: https://drupal.org/project/per_user_block

jibran’s picture

Status: Needs review » Reviewed & tested by the community

Patch is green so RTBC.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed c9b99fc and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.