interface WorkspaceNegotiatorInterface in Multiversion 8
Hierarchy
- interface \Drupal\multiversion\Workspace\WorkspaceNegotiatorInterface
Expanded class hierarchy of WorkspaceNegotiatorInterface
All classes that implement WorkspaceNegotiatorInterface
File
- src/
Workspace/ WorkspaceNegotiatorInterface.php, line 9
Namespace
Drupal\multiversion\WorkspaceView source
interface WorkspaceNegotiatorInterface {
/**
* @param \Drupal\Core\Session\AccountInterface $current_user
*/
public function setCurrentUser(AccountInterface $current_user);
/**
* @param \Drupal\multiversion\Workspace\WorkspaceManagerInterface $entity_manager
*/
public function setWorkspaceManager(WorkspaceManagerInterface $entity_manager);
/**
* @param \Symfony\Component\HttpFoundation\Request $request
* @return boolean
*/
public function applies(Request $request);
/**
* @param \Symfony\Component\HttpFoundation\Request $request
* @return string
*/
public function getWorkspaceId(Request $request);
/**
* @param \Drupal\multiversion\Entity\WorkspaceInterface $workspace
* @return boolean
*/
public function persist(WorkspaceInterface $workspace);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
WorkspaceNegotiatorInterface:: |
public | function | 3 | |
WorkspaceNegotiatorInterface:: |
public | function | 3 | |
WorkspaceNegotiatorInterface:: |
public | function | 1 | |
WorkspaceNegotiatorInterface:: |
public | function | 1 | |
WorkspaceNegotiatorInterface:: |
public | function | 1 |