DisplayBuilderBase.php in Panels 8.3
Same filename and directory in other branches
Namespace
Drupal\panels\Plugin\DisplayBuilderFile
src/Plugin/DisplayBuilder/DisplayBuilderBase.phpView source
<?php
/**
* @file
*/
namespace Drupal\panels\Plugin\DisplayBuilder;
use Drupal\Core\Plugin\PluginBase;
use Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant;
/**
* Provides base class for Display Builder plugins.
*/
abstract class DisplayBuilderBase extends PluginBase implements DisplayBuilderInterface {
/**
* {@inheritdoc}
*/
public function build(PanelsDisplayVariant $panels_display) {
$regions = $panels_display
->getRegionAssignments();
return $regions;
}
}
Classes
Name | Description |
---|---|
DisplayBuilderBase | Provides base class for Display Builder plugins. |