You are here

public function PanelsVariantEvent::__construct in Panels 8.4

PanelsVariantEvent constructor.

Parameters

\Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant $variant: The Panels display variant.

File

src/PanelsVariantEvent.php, line 26

Class

PanelsVariantEvent
Event object for events relating to Panels display variants.

Namespace

Drupal\panels

Code

public function __construct(PanelsDisplayVariant $variant) {
  $this->variant = $variant;
}