You are here

public static function AssetInterface::fromValues in Mini site 8

Instantiate class from an array of values.

Parameters

array $values: Array of values to instantiate the field.

Return value

\Drupal\minisite\Asset An instance of the class.

1 method overrides AssetInterface::fromValues()
Asset::fromValues in src/Asset.php
Instantiate class from an array of values.

File

src/AssetInterface.php, line 29

Class

AssetInterface
Interface AssetInterface.

Namespace

Drupal\minisite

Code

public static function fromValues(array $values);