class DefaultWorkspaceProvider

Same name and namespace in other branches
  1. 11.x core/modules/workspaces/src/Provider/DefaultWorkspaceProvider.php \Drupal\workspaces\Provider\DefaultWorkspaceProvider

Defines the default workspace provider.

Hierarchy

Expanded class hierarchy of DefaultWorkspaceProvider

4 files declare their use of DefaultWorkspaceProvider
Workspace.php in core/modules/workspaces/src/Entity/Workspace.php
WorkspaceListBuilder.php in core/modules/workspaces_ui/src/WorkspaceListBuilder.php
workspaces.install in core/modules/workspaces/workspaces.install
Contains install, update and uninstall functions for the Workspaces module.
WorkspaceSelection.php in core/modules/workspaces/src/Plugin/EntityReferenceSelection/WorkspaceSelection.php

File

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

Namespace

Drupal\workspaces\Provider
View source
class DefaultWorkspaceProvider extends WorkspaceProviderBase {
  
  /**
   * {@inheritdoc}
   */
  public static function getId() : string {
    return 'default';
  }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
DefaultWorkspaceProvider::getId public static function Overrides WorkspaceProviderInterface::getId
StringTranslationTrait::$stringTranslation protected property The string translation service. 3
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use. 2
StringTranslationTrait::t protected function Translates a string to the current language or to a given language. 1
WorkspaceProviderBase::$initialPublished protected property A list of entity UUIDs that were created as published in a workspace.
WorkspaceProviderBase::checkAccess public function Overrides WorkspaceProviderInterface::checkAccess
WorkspaceProviderBase::entityCreate public function Overrides WorkspaceProviderInterface::entityCreate
WorkspaceProviderBase::entityDelete public function Overrides WorkspaceProviderInterface::entityDelete
WorkspaceProviderBase::entityInsert public function Overrides WorkspaceProviderInterface::entityInsert
WorkspaceProviderBase::entityPredelete public function Overrides WorkspaceProviderInterface::entityPredelete
WorkspaceProviderBase::entityPreload public function Overrides WorkspaceProviderInterface::entityPreload
WorkspaceProviderBase::entityPresave public function Overrides WorkspaceProviderInterface::entityPresave
WorkspaceProviderBase::entityRevisionDelete public function Overrides WorkspaceProviderInterface::entityRevisionDelete
WorkspaceProviderBase::entityTranslationInsert public function Overrides WorkspaceProviderInterface::entityTranslationInsert
WorkspaceProviderBase::entityUpdate public function Overrides WorkspaceProviderInterface::entityUpdate
WorkspaceProviderBase::__construct public function

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