/** * Overrides Drupal\Core\Entity\EntityListController::buildOperations(); */ public function buildOperations(EntityInterface $entity) { $build = parent::buildOperations($entity); // Use the dropbutton #type. unset($build['#theme']); $build['#type'] = 'dropbutton'; return $build; }