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