public function OgGroupResolverInterface::resolve in Organic groups 8
Resolves groups within the plugin's domain.
Parameters
\Drupal\og\OgResolvedGroupCollectionInterface $collection: A collection of groups that were resolved by previous plugins. If the plugin discovers new groups, it may add these to this collection. A plugin may also remove groups from the collection that were previously discovered by other plugins, if it finds out that certain groups are incompatible with the current state in the plugin's domain.
4 methods override OgGroupResolverInterface::resolve()
- RequestQueryArgumentResolver::resolve in src/
Plugin/ OgGroupResolver/ RequestQueryArgumentResolver.php - Resolves groups within the plugin's domain.
- RouteGroupContentResolver::resolve in src/
Plugin/ OgGroupResolver/ RouteGroupContentResolver.php - Resolves groups within the plugin's domain.
- RouteGroupResolver::resolve in src/
Plugin/ OgGroupResolver/ RouteGroupResolver.php - Resolves groups within the plugin's domain.
- UserGroupAccessResolver::resolve in src/
Plugin/ OgGroupResolver/ UserGroupAccessResolver.php - Resolves groups within the plugin's domain.
File
- src/
OgGroupResolverInterface.php, line 49
Class
- OgGroupResolverInterface
- Defines an interface for OgGroupResolver plugins.
Namespace
Drupal\ogCode
public function resolve(OgResolvedGroupCollectionInterface $collection);