function WorkspaceProviderInterface::entityTranslationInsert

Acts after an entity translation has been added.

Parameters

\Drupal\Core\Entity\EntityInterface $translation: The entity translation that was inserted.

1 method overrides WorkspaceProviderInterface::entityTranslationInsert()
WorkspaceProviderBase::entityTranslationInsert in core/modules/workspaces/src/Provider/WorkspaceProviderBase.php
Acts after an entity translation has been added.

File

core/modules/workspaces/src/Provider/WorkspaceProviderInterface.php, line 98

Class

WorkspaceProviderInterface
Provides the interface for workspace providers.

Namespace

Drupal\workspaces\Provider

Code

public function entityTranslationInsert(EntityInterface $translation) : void;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.