You are here

public function OgChangeMultipleRolesFormBase::__construct in Organic groups 8

Constructs a OgChangeMultipleRolesFormbase object.

Parameters

\Drupal\Core\TempStore\PrivateTempStoreFactory $temp_store_factory: The tempstore factory.

\Drupal\og\OgAccessInterface $og_access: The OG access service.

File

src/Form/OgChangeMultipleRolesFormBase.php, line 65

Class

OgChangeMultipleRolesFormBase
Base class for forms that act on multiple roles.

Namespace

Drupal\og\Form

Code

public function __construct(PrivateTempStoreFactory $temp_store_factory, OgAccessInterface $og_access) {
  $this->tempStoreFactory = $temp_store_factory;
  $this->ogAccess = $og_access;
}