public function GroupContentTypeStorageInterface::loadByContentPluginId in Group 8
Same name and namespace in other branches
- 2.0.x src/Entity/Storage/GroupContentTypeStorageInterface.php \Drupal\group\Entity\Storage\GroupContentTypeStorageInterface::loadByContentPluginId()
Retrieves group content types by their responsible plugin ID.
Parameters
string|string[] $plugin_id: The ID of the content enabler plugin or an array of plugin IDs. If more than one plugin ID is provided, this will load all of the group content types that match any of the provided plugin IDs.
Return value
\Drupal\group\Entity\GroupContentTypeInterface[] An array of group content types indexed by their IDs.
1 method overrides GroupContentTypeStorageInterface::loadByContentPluginId()
- GroupContentTypeStorage::loadByContentPluginId in src/
Entity/ Storage/ GroupContentTypeStorage.php - Retrieves group content types by their responsible plugin ID.
File
- src/
Entity/ Storage/ GroupContentTypeStorageInterface.php, line 35
Class
- GroupContentTypeStorageInterface
- Defines an interface for group content type entity storage classes.
Namespace
Drupal\group\Entity\StorageCode
public function loadByContentPluginId($plugin_id);