public function GroupContentEnablerManagerInterface::clearCachedGroupTypeCollections in Group 8
Clears the static per group type plugin collection cache.
Parameters
\Drupal\group\Entity\GroupTypeInterface $group_type: (optional) The group type to clear the cache for. Leave blank to clear the cache for all group types.
1 method overrides GroupContentEnablerManagerInterface::clearCachedGroupTypeCollections()
- GroupContentEnablerManager::clearCachedGroupTypeCollections in src/
Plugin/ GroupContentEnablerManager.php - Clears the static per group type plugin collection cache.
File
- src/
Plugin/ GroupContentEnablerManagerInterface.php, line 203
Class
- GroupContentEnablerManagerInterface
- Provides a common interface for group content enabler managers.
Namespace
Drupal\group\PluginCode
public function clearCachedGroupTypeCollections(GroupTypeInterface $group_type = NULL);