function WorkspacesHooks::entityTranslationInsert
Implements hook_entity_translation_insert().
File
-
core/
modules/ workspaces/ src/ Hook/ WorkspacesHooks.php, line 146
Class
- WorkspacesHooks
- Hook implementations for workspaces.
Namespace
Drupal\workspaces\HookCode
public function entityTranslationInsert(EntityInterface $translation) : void {
\Drupal::service('class_resolver')->getInstanceFromDefinition(EntityOperations::class)
->entityTranslationInsert($translation);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.