public function GroupContentEnablerManager::getGroupContentTypeIds in Group 8
Retrieves all of the group content type IDs for a content plugin.
Parameters
string $plugin_id: The ID of the plugin to retrieve group content type IDs for.
Return value
string[] An array of group content type IDs.
Overrides GroupContentEnablerManagerInterface::getGroupContentTypeIds
File
- src/
Plugin/ GroupContentEnablerManager.php, line 352
Class
- GroupContentEnablerManager
- Manages GroupContentEnabler plugin implementations.
Namespace
Drupal\group\PluginCode
public function getGroupContentTypeIds($plugin_id) {
$map = $this
->getPluginGroupContentTypeMap();
return isset($map[$plugin_id]) ? $map[$plugin_id] : [];
}