function TestViewListBuilder::buildOperations

Same name and namespace in other branches
  1. 9 core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php \Drupal\Tests\views_ui\Unit\TestViewListBuilder::buildOperations()
  2. 8.9.x core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php \Drupal\Tests\views_ui\Unit\TestViewListBuilder::buildOperations()
  3. 11.x 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

File

core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php, line 194

Class

TestViewListBuilder

Namespace

Drupal\Tests\views_ui\Unit

Code

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

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