public function UnblockOgMembership::__construct in Organic groups 8
Constructs an UnblockOgMembership object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\og\OgAccessInterface $og_access: The OG access service.
Overrides PluginBase::__construct
File
- src/
Plugin/ Action/ UnblockOgMembership.php, line 46
Class
- UnblockOgMembership
- Unblocks a group membership.
Namespace
Drupal\og\Plugin\ActionCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, OgAccessInterface $og_access) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->ogAccess = $og_access;
}