EntityOperations::$entityRepository

Same name and namespace in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/field/EntityOperations.php \Drupal\views\Plugin\views\field\EntityOperations::entityRepository
  2. 10 core/modules/views/src/Plugin/views/field/EntityOperations.php \Drupal\views\Plugin\views\field\EntityOperations::entityRepository
  3. 11.x core/modules/views/src/Plugin/views/field/EntityOperations.php \Drupal\views\Plugin\views\field\EntityOperations::entityRepository

The entity repository service.

Type: \Drupal\Core\Entity\EntityRepositoryInterface

File

core/modules/views/src/Plugin/views/field/EntityOperations.php, line 38

Class

EntityOperations
Renders all operations links for an entity.

Namespace

Drupal\views\Plugin\views\field

Code

protected $entityRepository;

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