public function WebformAccessGroupListBuilder::buildOperations in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_access/src/WebformAccessGroupListBuilder.php \Drupal\webform_access\WebformAccessGroupListBuilder::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
- modules/
webform_access/ src/ WebformAccessGroupListBuilder.php, line 242
Class
- WebformAccessGroupListBuilder
- Defines a class to build a listing of webform access group entities.
Namespace
Drupal\webform_accessCode
public function buildOperations(EntityInterface $entity) {
return parent::buildOperations($entity) + [
'#prefix' => '<div class="webform-dropbutton">',
'#suffix' => '</div>',
];
}