You are here

service group.group_route_context in Group 8

Same name and namespace in other branches
  1. 2.0.x group.services.yml \group.group_route_context

Class

Drupal\group\Context\GroupRouteContext

Tags

  • context_provider
2 string references to group.group_route_context
GroupIdFromUrl::create in src/Plugin/views/argument_default/GroupIdFromUrl.php
Creates an instance of the plugin.
GroupPermission::create in src/Plugin/views/access/GroupPermission.php
Creates an instance of the plugin.

File

./group.services.yml
group.services.yml

View source
  1. class: Drupal\group\Context\GroupRouteContext
  2. arguments:
  3. - '@current_route_match'
  4. - '@entity_type.manager'
  5. - '@string_translation'
  6. tags:
  7. - { name: context_provider }