You are here

public function AssetLocationInterface::getAssetsByLocation in farmOS 2.x

Get assets that are in locations.

Parameters

\Drupal\asset\Entity\AssetInterface[] $locations: An array of location assets to lookup.

Return value

\Drupal\asset\Entity\AssetInterface[] Returns an array of assets.

File

modules/core/location/src/AssetLocationInterface.php, line 109

Class

AssetLocationInterface
Asset location logic.

Namespace

Drupal\farm_location

Code

public function getAssetsByLocation(array $locations) : array;