public function PageBlockDisplayVariant::getRegionNames in Page Manager 8
Same name and namespace in other branches
- 8.4 src/Plugin/DisplayVariant/PageBlockDisplayVariant.php \Drupal\page_manager\Plugin\DisplayVariant\PageBlockDisplayVariant::getRegionNames()
Overrides BlockVariantTrait::getRegionNames
See also
\Drupal\ctools\Plugin\BlockVariantInterface::getRegionNames()
File
- src/
Plugin/ DisplayVariant/ PageBlockDisplayVariant.php, line 318 - Contains \Drupal\page_manager\Plugin\DisplayVariant\PageBlockDisplayVariant.
Class
- PageBlockDisplayVariant
- Provides a variant plugin that simply contains blocks.
Namespace
Drupal\page_manager\Plugin\DisplayVariantCode
public function getRegionNames() {
return [
'top' => 'Top',
'bottom' => 'Bottom',
];
}