DataEntityRow::$entityRepository

Same name in other branches
  1. 8.9.x core/modules/rest/src/Plugin/views/row/DataEntityRow.php \Drupal\rest\Plugin\views\row\DataEntityRow::entityRepository
  2. 10 core/modules/rest/src/Plugin/views/row/DataEntityRow.php \Drupal\rest\Plugin\views\row\DataEntityRow::entityRepository
  3. 11.x core/modules/rest/src/Plugin/views/row/DataEntityRow.php \Drupal\rest\Plugin\views\row\DataEntityRow::entityRepository

The entity repository service.

Type: \Drupal\Core\Entity\EntityRepositoryInterface

File

core/modules/rest/src/Plugin/views/row/DataEntityRow.php, line 52

Class

DataEntityRow
Plugin which displays entities as raw data.

Namespace

Drupal\rest\Plugin\views\row

Code

protected $entityRepository;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.