You are here

public function LogLocationInterface::setLocation in farmOS 2.x

Set a log's location.

Parameters

\Drupal\log\Entity\LogInterface $log: The Log entity.

\Drupal\asset\Entity\AssetInterface[] $assets: An array of location asset entities.

1 method overrides LogLocationInterface::setLocation()
LogLocation::setLocation in modules/core/location/src/LogLocation.php
Set a log's location.

File

modules/core/location/src/LogLocationInterface.php, line 64

Class

LogLocationInterface
The interface for log location logic.

Namespace

Drupal\farm_location

Code

public function setLocation(LogInterface $log, array $assets) : void;