You are here

protected function PanelsBlockConfigureFormBase::getVariantPlugin in Panels 8.4

Same name and namespace in other branches
  1. 8.3 src/Form/PanelsBlockConfigureFormBase.php \Drupal\panels\Form\PanelsBlockConfigureFormBase::getVariantPlugin()

Gets the variant plugin for this page variant entity.

Return value

\Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant

1 call to PanelsBlockConfigureFormBase::getVariantPlugin()
PanelsBlockConfigureFormBase::submitForm in src/Form/PanelsBlockConfigureFormBase.php
Form submission handler.

File

src/Form/PanelsBlockConfigureFormBase.php, line 196

Class

PanelsBlockConfigureFormBase
Provides a base form for configuring a block as part of a variant.

Namespace

Drupal\panels\Form

Code

protected function getVariantPlugin() {
  return $this->variantPlugin;
}