abstract class WorkspaceNegotiatorBase in Multiversion 8
Hierarchy
- class \Drupal\multiversion\Workspace\WorkspaceNegotiatorBase implements \Symfony\Component\DependencyInjection\ContainerAwareInterface, WorkspaceNegotiatorInterface uses \Symfony\Component\DependencyInjection\ContainerAwareTrait
Expanded class hierarchy of WorkspaceNegotiatorBase
File
- src/
Workspace/ WorkspaceNegotiatorBase.php, line 10
Namespace
Drupal\multiversion\WorkspaceView source
abstract class WorkspaceNegotiatorBase implements WorkspaceNegotiatorInterface, ContainerAwareInterface {
use ContainerAwareTrait;
/**
* @var \Drupal\Core\Session\AccountInterface
*/
protected $currentUser;
/**
* @var \Drupal\multiversion\Workspace\WorkspaceManagerInterface
*/
protected $workspaceManager;
/**
* {@inheritdoc}
*/
public function setCurrentUser(AccountInterface $current_user) {
$this->currentUser = $current_user;
}
/**
* {@inheritdoc}
*/
public function setWorkspaceManager(WorkspaceManagerInterface $entity_manager) {
$this->workspaceManager = $entity_manager;
}
/**
* {@inheritdoc}
*/
public function persist(WorkspaceInterface $workspace) {
return TRUE;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
WorkspaceNegotiatorBase:: |
protected | property | ||
WorkspaceNegotiatorBase:: |
protected | property | ||
WorkspaceNegotiatorBase:: |
public | function |
Overrides WorkspaceNegotiatorInterface:: |
2 |
WorkspaceNegotiatorBase:: |
public | function |
Overrides WorkspaceNegotiatorInterface:: |
|
WorkspaceNegotiatorBase:: |
public | function |
Overrides WorkspaceNegotiatorInterface:: |
|
WorkspaceNegotiatorInterface:: |
public | function | 3 | |
WorkspaceNegotiatorInterface:: |
public | function | 3 |