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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

benjy’s picture

Status: Active » Needs review
FileSize
677 bytes

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.