function WorkspaceProviderInterface::entityCreate

Acts before an entity is created.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity being created.

1 method overrides WorkspaceProviderInterface::entityCreate()
WorkspaceProviderBase::entityCreate in core/modules/workspaces/src/Provider/WorkspaceProviderBase.php
Acts before an entity is created.

File

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

Class

WorkspaceProviderInterface
Provides the interface for workspace providers.

Namespace

Drupal\workspaces\Provider

Code

public function entityCreate(EntityInterface $entity) : void;

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