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 buildDynamicMetadata(string $name, array $metadata)

No description

Parameters

string $name

The Metadata name

array $metadata

The Metadata contents, as an array

Return Value

DynamicMetadataInterface

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