public function RegionMap::getFieldsForRegion in Layout Plugin Views 8
Same name and namespace in other branches
- 8.2 src/RegionMap.php \Drupal\layout_plugin_views\RegionMap::getFieldsForRegion()
Returns the fields to be rendered for the given region.
Parameters
string $region_name:
Return value
\Drupal\views\Plugin\views\field\FieldPluginBase[]
File
- src/
RegionMap.php, line 99
Class
Namespace
Drupal\layout_plugin_viewsCode
public function getFieldsForRegion($region_name) {
return !empty($this->map[$region_name]) ? $this->map[$region_name] : [];
}