You are here

service og.context in Organic groups 8

Class

Drupal\og\ContextProvider\OgContext

Tags

  • context_provider
4 string references to og.context
Group::create in src/Plugin/views/argument_default/Group.php
Creates an instance of the plugin.
MemberCountBlock::create in src/Plugin/Block/MemberCountBlock.php
Creates an instance of the plugin.
MemberCountBlockTest::setUp in tests/src/Kernel/Plugin/Block/MemberCountBlockTest.php
RecentGroupContentBlock::create in src/Plugin/Block/RecentGroupContentBlock.php
Creates an instance of the plugin.

File

./og.services.yml
og.services.yml

View source
  1. class: Drupal\og\ContextProvider\OgContext
  2. arguments:
  3. - '@plugin.manager.og.group_resolver'
  4. - '@config.factory'
  5. tags:
  6. - { name: context_provider }