function BlockVariantEvent::getVariant

Same name in other branches
  1. 4.0.x src/Event/BlockVariantEvent.php \Drupal\ctools\Event\BlockVariantEvent::getVariant()

Gets the variant plugin.

Return value

\Drupal\ctools\Plugin\BlockVariantInterface

File

src/Event/BlockVariantEvent.php, line 55

Class

BlockVariantEvent

Namespace

Drupal\ctools\Event

Code

public function getVariant() {
    return $this->variant;
}