Skip to content
Snippets Groups Projects
Commit a67e5371 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

Issue #1802834 by tim.plunkett: Added Use #type => operations for...

Issue #1802834 by tim.plunkett: Added Use #type => operations for EntityListController::buildOperations().
parent 6d7f2552
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -133,7 +133,7 @@ public function buildOperations(EntityInterface $entity) { ...@@ -133,7 +133,7 @@ public function buildOperations(EntityInterface $entity) {
$operations = $this->getOperations($entity); $operations = $this->getOperations($entity);
uasort($operations, 'drupal_sort_weight'); uasort($operations, 'drupal_sort_weight');
$build = array( $build = array(
'#theme' => 'links', '#type' => 'operations',
'#links' => $operations, '#links' => $operations,
); );
return $build; return $build;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment