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
when inspecting variables in a pattern preprocess the context key context is holding an object of type Drupal\ui_patterns\Element\PatternContext which might go against this change record
This does destroy any context one might try to set on any parent preprocessors.
Even if I try to use the ui_patterns context and do something like this
function THEME_preprocess_pattern_PATTERNNAME(&$variables) {
$variables["context"]->setProperty('variable1', 'value1');
}
variable1 gets destroyed and does not appear on the next preprocessor functions down the line
Does this need a 2nd thought ?
The text was updated successfully, but these errors were encountered:
when inspecting variables in a pattern preprocess the context key
context
is holding an object of typeDrupal\ui_patterns\Element\PatternContext
which might go against this change recordThis does destroy any context one might try to set on any parent preprocessors.
Even if I try to use the ui_patterns context and do something like this
variable1
gets destroyed and does not appear on the next preprocessor functions down the lineDoes this need a 2nd thought ?
The text was updated successfully, but these errors were encountered: