A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Interface IMetadataExtender

Implement this interface to be able to modify metadata.

Namespace: EPiServer.Shell.ObjectEditing
Assembly: EPiServer.Shell.dll
Version: 7.19.2
Syntax
public interface IMetadataExtender : IMetadataHandler

Methods

ModifyMetadata(ExtendedMetadata, IEnumerable<Attribute>)

Use to add change metadata for the editor before the UI is rendered.

Declaration
void ModifyMetadata(ExtendedMetadata metadata, IEnumerable<Attribute> attributes)
Parameters
Type Name Description
ExtendedMetadata metadata

The metadata.

System.Collections.Generic.IEnumerable<System.Attribute> attributes

The attributes.

Extension Methods