How to use theme resources in widget vm file?

How to use theme resources in widget vm file?

Parents
  • What are you trying to do?

    It's true that theme language resources cannot be consumed by anything other than the theme itself.

    However, if potentially you mean "resources" in the more generic sense, it's worth mentioning that the $core_v2_theme extension enables widgets and themes to consume a theme's configuration. And the items in a theme which may be configured are, themselves, also defined by the theme, similar to widgets.

Reply
  • What are you trying to do?

    It's true that theme language resources cannot be consumed by anything other than the theme itself.

    However, if potentially you mean "resources" in the more generic sense, it's worth mentioning that the $core_v2_theme extension enables widgets and themes to consume a theme's configuration. And the items in a theme which may be configured are, themselves, also defined by the theme, similar to widgets.

Children