You are here

public function GroupMembershipInterface::getGroup in farmOS 2.x

Get group assets that an asset is a member of.

Parameters

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

Return value

array Returns an array of assets.

File

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

Class

GroupMembershipInterface
Asset group membership logic.

Namespace

Drupal\farm_group

Code

public function getGroup(AssetInterface $asset) : array;