You are here

public function ViewsBulkOperationsViewDataInterface::getEntity in Views Bulk Operations (VBO) 8.3

Same name and namespace in other branches
  1. 8 src/Service/ViewsBulkOperationsViewDataInterface.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsViewDataInterface::getEntity()
  2. 8.2 src/Service/ViewsBulkOperationsViewDataInterface.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsViewDataInterface::getEntity()
  3. 4.0.x src/Service/ViewsBulkOperationsViewDataInterface.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsViewDataInterface::getEntity()

Get entity from views row.

Parameters

\Drupal\views\ResultRow $row: Views row object.

Return value

\Drupal\Core\Entity\EntityInterface An entity object.

1 method overrides ViewsBulkOperationsViewDataInterface::getEntity()
ViewsBulkOperationsViewData::getEntity in src/Service/ViewsBulkOperationsViewData.php
Get entity from views row.

File

src/Service/ViewsBulkOperationsViewDataInterface.php, line 59

Class

ViewsBulkOperationsViewDataInterface
Defines view data service for Views Bulk Operations.

Namespace

Drupal\views_bulk_operations\Service

Code

public function getEntity(ResultRow $row);