function BlockVariantEvent::getVariant
Same name in other branches
- 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
Namespace
Drupal\ctools\EventCode
public function getVariant() {
return $this->variant;
}