You are here

public function LogLocationInterface::hasLocation in farmOS 2.x

Check if a log references location assets.

Parameters

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

Return value

bool Returns TRUE if the log references location assets, FALSE otherwise.

1 method overrides LogLocationInterface::hasLocation()
LogLocation::hasLocation in modules/core/location/src/LogLocation.php
Check if a log references location assets.

File

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

Class

LogLocationInterface
The interface for log location logic.

Namespace

Drupal\farm_location

Code

public function hasLocation(LogInterface $log) : bool;