Skip to main content
4 events
when toggle format what by license comment
Oct 3, 2015 at 23:59 comment added Torenware Networks @Bendir -- yeah, I got that. But there isn't much documentation as to how to do that translation. Also: it turns out that the relevant configuration is spread over four files. You have to know which files to look at.
Oct 3, 2015 at 21:39 comment added Berdir I don't mean to extract the configuration file, i mean to extract the configuration. Configurable and base fields use the exact same API, it's just a different way to specify it. So you can create a field in the UI, configure the widget/formatter, then then copy the configuration for it into your base field definition. Everything you can define in the UI can also be put into a base field definition.
Oct 3, 2015 at 21:24 comment added Torenware Networks @Bendir -- I can certainly use the UI and extract the configuration entity file, but since I'm trying to update the Examples module, I want to use the same technique already used by the content_entity_example, which does not use that technique. Hence BaseFieldDefinition.
Oct 3, 2015 at 7:56 history answered Berdir CC BY-SA 3.0