Skip to content
Snippets Groups Projects

Change entity operation title

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -42,7 +42,7 @@ function simple_entity_merge_entity_operation(EntityInterface $entity) {
if (\Drupal::currentUser()->hasPermission('execute simple_entity_merge')) {
if ($entity->hasLinkTemplate('simple_entity_merge-execute')) {
$operations['simple_entity_merge'] = [
'title' => t('Simple Entity Merge'),
'title' => t('Merge'),
'weight' => 100,
'url' => $entity->toUrl('simple_entity_merge-execute'),
];
Loading