You are here

interface WorkspaceNegotiatorInterface in Multiversion 8

Hierarchy

Expanded class hierarchy of WorkspaceNegotiatorInterface

All classes that implement WorkspaceNegotiatorInterface

File

src/Workspace/WorkspaceNegotiatorInterface.php, line 9

Namespace

Drupal\multiversion\Workspace
View 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