function TestWorkspaceProvider::getId

Gets the ID of the workspace provider.

Return value

string The workspace provider ID.

Overrides WorkspaceProviderInterface::getId

File

core/modules/workspaces/tests/modules/workspaces_test/src/Provider/TestWorkspaceProvider.php, line 17

Class

TestWorkspaceProvider
Defines a test workspace provider.

Namespace

Drupal\workspaces_test\Provider

Code

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

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