function WorkspaceProviderInterface::entityPreload

Acts before an entity is loaded.

Parameters

array $ids: An array of entity IDs.

string $entity_type_id: The entity type ID.

Return value

array The modified array of entity IDs.

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

File

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

Class

WorkspaceProviderInterface
Provides the interface for workspace providers.

Namespace

Drupal\workspaces\Provider

Code

public function entityPreload(array $ids, string $entity_type_id) : array;

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