diff --git a/core/includes/entity.api.php b/core/includes/entity.api.php index 5c993ac..f685073 100644 --- a/core/includes/entity.api.php +++ b/core/includes/entity.api.php @@ -546,7 +546,7 @@ function hook_entity_field_info_alter(&$info, $entity_type) { * @param \Drupal\Core\Entity\EntityInterface $entity * The entity on which the linked operations will be performed. */ -function hook_entity_operations_alter(array &$operations, \Drupal\Core\Entity\EntityInterface $entity) { +function hook_entity_operation_alter(array &$operations, \Drupal\Core\Entity\EntityInterface $entity) { $uri = $entity->uri(); $operations['translate'] = array( 'title' => t('Translate'),