How know inside hook_entity_presave() if the entity is create or update please ? Thanks.
Note: I want use presave and not update and insert hook.
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community