You are here

public static function GroupContentInterface::loadByContentPluginId in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/GroupContentInterface.php \Drupal\group\Entity\GroupContentInterface::loadByContentPluginId()

Loads group content entities by their responsible plugin ID.

Parameters

string $plugin_id: The ID of the content enabler plugin.

Return value

\Drupal\group\Entity\GroupContentInterface[] An array of group content entities indexed by their IDs.

1 method overrides GroupContentInterface::loadByContentPluginId()
GroupContent::loadByContentPluginId in src/Entity/GroupContent.php
Loads group content entities by their responsible plugin ID.

File

src/Entity/GroupContentInterface.php, line 53

Class

GroupContentInterface
Provides an interface defining a Group content entity.

Namespace

Drupal\group\Entity

Code

public static function loadByContentPluginId($plugin_id);