You are here

public function TestEntityListBuilder::buildOperations in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php \Drupal\Tests\Core\Entity\TestEntityListBuilder::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/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php, line 158
Contains \Drupal\Tests\Core\Entity\EntityListBuilderTest.

Class

TestEntityListBuilder

Namespace

Drupal\Tests\Core\Entity

Code

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