[ Version ( since = "3.26" ) ]
public void set_context_by_name (string? name)
Changes the context for the controller to the context matching name
.
Contexts are resolved at runtime through the current theme (and possibly a parent theme if it inherits from one).
this | |
name |
The name of the context |