public function GroupContentStorageInterface::loadByContentPluginId in Group 8
Same name and namespace in other branches
- 2.0.x src/Entity/Storage/GroupContentStorageInterface.php \Drupal\group\Entity\Storage\GroupContentStorageInterface::loadByContentPluginId()
Retrieves all GroupContent entities by their responsible plugin ID.
Parameters
string $plugin_id: The ID of the content enabler plugin.
Return value
\Drupal\group\Entity\GroupContentInterface[] A list of GroupContent entities indexed by their IDs.
1 method overrides GroupContentStorageInterface::loadByContentPluginId()
- GroupContentStorage::loadByContentPluginId in src/
Entity/ Storage/ GroupContentStorage.php - Retrieves all GroupContent entities by their responsible plugin ID.
File
- src/
Entity/ Storage/ GroupContentStorageInterface.php, line 67
Class
- GroupContentStorageInterface
- Defines an interface for group content entity storage classes.
Namespace
Drupal\group\Entity\StorageCode
public function loadByContentPluginId($plugin_id);