You are here

public function WebformSubmissionListBuilder::buildOperations in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformSubmissionListBuilder.php \Drupal\webform\WebformSubmissionListBuilder::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()

1 call to WebformSubmissionListBuilder::buildOperations()
WebformSubmissionListBuilder::buildRowColumn in src/WebformSubmissionListBuilder.php
Build row column.

File

src/WebformSubmissionListBuilder.php, line 1014

Class

WebformSubmissionListBuilder
Provides a list controller for webform submission entity.

Namespace

Drupal\webform

Code

public function buildOperations(EntityInterface $entity) {
  return parent::buildOperations($entity) + [
    '#prefix' => '<div class="webform-dropbutton">',
    '#suffix' => '</div>',
  ];
}