class DynamicMetadataHelper (View source)

Methods

buildDynamicMetadata(string $name, array $metadata)

No description

static string
getDynamicMetadataClassName(string $name)

Returns the Dynamic Metadata class name from the API name.

Details

static DynamicMetadataInterface|null buildDynamicMetadata(string $name, array $metadata)

No description

Parameters

string $name

The Metadata name

array $metadata

The Metadata contents, as an array

Return Value

DynamicMetadataInterface|null

static string getDynamicMetadataClassName(string $name)

Returns the Dynamic Metadata class name from the API name.

Parameters

string $name

The Metadata name from the API

Return Value

string

The DynamicMetadata class name, as fully qualified class name