You are here

public function GroupMembershipInterface::getGroupAssignmentLog in farmOS 2.x

Find the latest group assignment log that references an asset.

Parameters

\Drupal\asset\Entity\AssetInterface $asset: The asset entity.

Return value

\Drupal\log\Entity\LogInterface|null A log entity, or NULL if no logs were found.

File

modules/asset/group/src/GroupMembershipInterface.php, line 44

Class

GroupMembershipInterface
Asset group membership logic.

Namespace

Drupal\farm_group

Code

public function getGroupAssignmentLog(AssetInterface $asset) : ?LogInterface;