private function RegionMap::fieldHasValidAssignment in Layout Plugin Views 8
Same name and namespace in other branches
- 8.2 src/RegionMap.php \Drupal\layout_plugin_views\RegionMap::fieldHasValidAssignment()
Determines if the given field is assigned to an existing region.
Parameters
string $field_name:
Return value
bool
1 call to RegionMap::fieldHasValidAssignment()
- RegionMap::generateRegionMap in src/
RegionMap.php - Generates the region map.
File
- src/
RegionMap.php, line 48
Class
Namespace
Drupal\layout_plugin_viewsCode
private function fieldHasValidAssignment($field_name) {
return $this
->selectedLayoutHasRegion($this->pluginOptions
->getAssignedRegion($field_name));
}