public function TestViewListBuilder::buildOperations in Drupal 8
Same name and namespace in other branches
- 9 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 189 - Contains \Drupal\Tests\views_ui\Unit\ViewListBuilderTest.
Class
Namespace
Drupal\Tests\views_ui\UnitCode
public function buildOperations(EntityInterface $entity) {
return [];
}