You are here

public function PanelsDisplayVariant::getRegionNames in Panels 8.3

Same name and namespace in other branches
  1. 8.4 src/Plugin/DisplayVariant/PanelsDisplayVariant.php \Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant::getRegionNames()

Overrides BlockVariantTrait::getRegionNames

See also

\Drupal\ctools\Plugin\BlockVariantInterface::getRegionNames()

File

src/Plugin/DisplayVariant/PanelsDisplayVariant.php, line 302

Class

PanelsDisplayVariant
Provides a display variant that simply contains blocks.

Namespace

Drupal\panels\Plugin\DisplayVariant

Code

public function getRegionNames() {
  return $this
    ->getLayout()
    ->getPluginDefinition()['region_names'];
}