Skip to content
Snippets Groups Projects

Issue #3203536: Correct hook function name

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -51,7 +51,7 @@ function commerceg_context_query_commerce_cart_load_data_alter(
*
* @see \Drupal\commerceg_context\Hook\EntitySave::commerceOrderInsert()
*/
function commerceg_commerce_order_insert(EntityInterface $entity) {
function commerceg_context_commerce_order_insert(EntityInterface $entity) {
\Drupal::service('commerceg_context.hook.entity_save')
->commerceOrderInsert($entity);
}
Loading