public function GroupRelationManagerInterface::clearCachedGroupTypeCollections in Group 2.0.x
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 GroupRelationManagerInterface::clearCachedGroupTypeCollections()
- GroupRelationManager::clearCachedGroupTypeCollections in src/
Plugin/ Group/ Relation/ GroupRelationManager.php - Clears the static per group type plugin collection cache.
File
- src/
Plugin/ Group/ Relation/ GroupRelationManagerInterface.php, line 201
Class
- GroupRelationManagerInterface
- Provides a common interface for group relation managers.
Namespace
Drupal\group\Plugin\Group\RelationCode
public function clearCachedGroupTypeCollections(GroupTypeInterface $group_type = NULL);