You are here

public function TestViewListBuilder::buildOperations in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php \Drupal\Tests\views_ui\Unit\TestViewListBuilder::buildOperations()

Builds a renderable list of operation links for the entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity on which the linked operations will be performed.

Return value

array A renderable array of operation links.

Overrides EntityListBuilder::buildOperations

See also

\Drupal\Core\Entity\EntityListBuilder::buildRow()

File

core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php, line 191
Contains \Drupal\Tests\views_ui\Unit\ViewListBuilderTest.

Class

TestViewListBuilder

Namespace

Drupal\Tests\views_ui\Unit

Code

public function buildOperations(EntityInterface $entity) {
  return [];
}