function WorkspaceProviderInterface::entityInsert

Acts after an entity has been added.

Parameters

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

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

File

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

Class

WorkspaceProviderInterface
Provides the interface for workspace providers.

Namespace

Drupal\workspaces\Provider

Code

public function entityInsert(EntityInterface $entity) : void;

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