function DefaultWorkspaceProvider::getId

Gets the ID of the workspace provider.

Return value

string The workspace provider ID.

Overrides WorkspaceProviderInterface::getId

3 calls to DefaultWorkspaceProvider::getId()
WorkspaceListBuilder::getEntityListQuery in core/modules/workspaces/src/WorkspaceListBuilder.php
Returns a query object for loading entity IDs from the storage.
WorkspaceSelection::defaultConfiguration in core/modules/workspaces/src/Plugin/EntityReferenceSelection/WorkspaceSelection.php
Gets default configuration for this plugin.
workspaces_update_11303 in core/modules/workspaces/workspaces.install
Add the workspace provider field.

File

core/modules/workspaces/src/Provider/DefaultWorkspaceProvider.php, line 15

Class

DefaultWorkspaceProvider
Defines the default workspace provider.

Namespace

Drupal\workspaces\Provider

Code

public static function getId() : string {
  return 'default';
}

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