public function AssetLocationInterface::hasGeometry in farmOS 2.x
Check if an asset has geometry.
Parameters
\Drupal\asset\Entity\AssetInterface $asset: The Asset entity.
Return value
bool Returns TRUE if the asset has geometry, FALSE otherwise.
File
- modules/
core/ location/ src/ AssetLocationInterface.php, line 55
Class
- AssetLocationInterface
- Asset location logic.
Namespace
Drupal\farm_locationCode
public function hasGeometry(AssetInterface $asset) : bool;