public function TestEntityListBuilder::buildOperations in Drupal 9
Same name and namespace in other branches
- 8 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
Namespace
Drupal\Tests\Core\EntityCode
public function buildOperations(EntityInterface $entity) {
return [];
}