function BlockListBuilder::getDefaultOperations
Overrides ConfigEntityListBuilder::getDefaultOperations
File
- 
              core/
modules/ block/ src/ BlockListBuilder.php, line 358  
Class
- BlockListBuilder
 - Defines a class to build a listing of block entities.
 
Namespace
Drupal\blockCode
public function getDefaultOperations(EntityInterface $entity) {
  $operations = parent::getDefaultOperations($entity);
  if (isset($operations['edit'])) {
    $operations['edit']['title'] = $this->t('Configure');
  }
  if (isset($operations['delete'])) {
    $operations['delete']['title'] = $this->t('Remove');
  }
  return $operations;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.