Problem/Motivation

Sometimes you want to vary markup by the feature flag

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

larowlan created an issue. See original summary.

larowlan’s picture

Status: Active » Needs review
StatusFileSize
new734 bytes
new2.69 KB
larowlan’s picture

Status: Needs review » Needs work
+++ b/src/FeatureFlagContext.php
@@ -0,0 +1,58 @@
+    return (new CacheableMetadata())->addCacheTags(['config:feature_flag.flag.global_navigation']);

gah whoops, hard-coded here, fixing

larowlan’s picture

Status: Needs work » Needs review
StatusFileSize
new1.56 KB
new2.79 KB

The last submitted patch, 2: 3278318-pass.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

The last submitted patch, 2: 3278318-fail.patch, failed testing. View results

larowlan’s picture

StatusFileSize
new820 bytes
new3.59 KB

The last submitted patch, 4: 3278318-4.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

larowlan credited mstrelan.

larowlan’s picture

mstrelan’s picture

Status: Needs review » Reviewed & tested by the community

  • larowlan committed 4b1c68c on 2.x
    Issue #3278318 by larowlan, mstrelan: Add a cache context for feature...
larowlan’s picture

Status: Reviewed & tested by the community » Fixed

Cutting a 2.x release

  • larowlan committed 054282d on 2.x
    Issue #3278318 by larowlan, mstrelan: Add a cache context for feature...

Status: Fixed » Closed (fixed)

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