function WorkspaceProviderBase::entityCreate

Acts before an entity is created.

Parameters

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

Overrides WorkspaceProviderInterface::entityCreate

File

core/modules/workspaces/src/Provider/WorkspaceProviderBase.php, line 86

Class

WorkspaceProviderBase
Defines the base class 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.