protected function ExtraFieldViewsPlugin::getViewName in Entity Extra Field 8
Same name and namespace in other branches
- 2.0.x src/Plugin/ExtraFieldType/ExtraFieldViewsPlugin.php \Drupal\entity_extra_field\Plugin\ExtraFieldType\ExtraFieldViewsPlugin::getViewName()
Get the view name.
Return value
string|null The view name; otherwise NULL.
2 calls to ExtraFieldViewsPlugin::getViewName()
- ExtraFieldViewsPlugin::getView in src/
Plugin/ ExtraFieldType/ ExtraFieldViewsPlugin.php - Get the view instance.
- ExtraFieldViewsPlugin::renderView in src/
Plugin/ ExtraFieldType/ ExtraFieldViewsPlugin.php - Render the view.
File
- src/
Plugin/ ExtraFieldType/ ExtraFieldViewsPlugin.php, line 160
Class
- ExtraFieldViewsPlugin
- Define extra field views plugin.
Namespace
Drupal\entity_extra_field\Plugin\ExtraFieldTypeCode
protected function getViewName() {
return $this
->getConfiguration()['view_name'] ?? NULL;
}