TestWorkspaceProvider.php

Namespace

Drupal\workspaces_test\Provider

File

core/modules/workspaces/tests/modules/workspaces_test/src/Provider/TestWorkspaceProvider.php

View source
<?php

declare (strict_types=1);
namespace Drupal\workspaces_test\Provider;

use Drupal\workspaces\Provider\WorkspaceProviderBase;

/**
 * Defines a test workspace provider.
 */
class TestWorkspaceProvider extends WorkspaceProviderBase {
  
  /**
   * {@inheritdoc}
   */
  public static function getId() : string {
    return 'test';
  }

}

Classes

Title Deprecated Summary
TestWorkspaceProvider Defines a test workspace provider.

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