Configuration resource types
resource_menu
Section titled “resource_menu”Keys: computed immutable id, name, elements (default []), roles (default []), default (false), recipes (null). Elements can be module identifier strings or objects with name/type/elements/icon/roles/recipes/default. Roles are slugs; unknown slugs create roles. Updates replace the menu. An empty roles list is visible to everyone; menu visibility is not data authorization.
[{"resource_menu":"main","resource":{"name":"main","elements":["notes"],"roles":[],"default":true}}]resource_translations
Section titled “resource_translations”Required: identifier, code, name, provider, data; dir defaults to ltr. Defaults are combined with API language resources and translations module entities.
[{"resource_translations":"example_en","resource":{"identifier":"example","code":"en","name":"English","provider":"example","dir":"ltr","data":{"buttons":{"review":"Review"}}}}]resource_styles
Section titled “resource_styles”Required identifier; optional code, view (entity reference), client (plan client), public.
[{"resource_styles":"example","resource":{"identifier":"example","code":".example { color: navy; }","public":false}}]resource_keymap
Section titled “resource_keymap”Required identifier; keymap is a list; user is an optional entity reference.
[{"resource_keymap":"example","resource":{"identifier":"example","keymap":[]}}]resource_hostname
Section titled “resource_hostname”Required hostname; associates the hostname with the current system.
[{"resource_hostname":"example","resource":{"hostname":"example.test"}}]resource_api_key
Section titled “resource_api_key”Required name and user (email). Optional expires, active (default true), key (at least 32 characters; generated/current value when omitted). An update replaces the key resource.
[{"resource_api_key":"integration","resource":{"name":"Integration","user":"operator@example.test","active":true}}]Source: app/Bakery/Plan/Resource/BakeryResource{Menu,Translations,Styles,Keymap,Hostname,ApiKey}.php.