You are here

public function BundleFormAlter::__construct in Organic groups 8

Construct a BundleFormAlter object.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity object.

File

og_ui/src/BundleFormAlter.php, line 61

Class

BundleFormAlter
Helper for og_ui_form_alter().

Namespace

Drupal\og_ui

Code

public function __construct(EntityInterface $entity) {
  $this->entity = $entity;
}