function DataEntityRow::create
Same name in other branches
- 8.9.x core/modules/rest/src/Plugin/views/row/DataEntityRow.php \Drupal\rest\Plugin\views\row\DataEntityRow::create()
- 10 core/modules/rest/src/Plugin/views/row/DataEntityRow.php \Drupal\rest\Plugin\views\row\DataEntityRow::create()
- 11.x core/modules/rest/src/Plugin/views/row/DataEntityRow.php \Drupal\rest\Plugin\views\row\DataEntityRow::create()
Overrides PluginBase::create
File
-
core/
modules/ rest/ src/ Plugin/ views/ row/ DataEntityRow.php, line 95
Class
- DataEntityRow
- Plugin which displays entities as raw data.
Namespace
Drupal\rest\Plugin\views\rowCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container->get('entity_type.manager'), $container->get('language_manager'), $container->get('entity.repository'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.