ServiceExtensions extension
- on
-
- ContentPlugin
Methods
-
contentBuilder(
String schemaType) → ContentBuilder< ContentItem> ? -
Available on ContentPlugin, provided by the ServiceExtensions extension
Returns the ContentBuilder for theschemaType
of theContentItem
. Returns null if it does not exist. -
contentBuilders(
) → List< ContentBuilder< ?ContentItem> > -
Available on ContentPlugin, provided by the ServiceExtensions extension
Returns a map of all content builders, where the key is the schemaType and the value is the ContentBuilder. -
setDefaultLayout(
{required String schemaType, required LayoutConfiguration< ContentItem> layout, required FromJsonConverter<LayoutConfiguration< fromJson}) → boolContentItem> > -
Available on ContentPlugin, provided by the ServiceExtensions extension
Sets the default layout for theschemaType
of theContentItem
. Returns true if the layout was set, false otherwise.