
| Current Path : /var/www/html/c12park/web/core/modules/workspaces/src/Negotiator/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/c12park/web/core/modules/workspaces/src/Negotiator/WorkspaceIdNegotiatorInterface.php |
<?php
namespace Drupal\workspaces\Negotiator;
use Symfony\Component\HttpFoundation\Request;
/**
* Interface for workspace negotiators that return only the negotiated ID.
*/
interface WorkspaceIdNegotiatorInterface {
/**
* Performs workspace negotiation.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* The HTTP request.
*
* @return string|null
* A valid workspace ID if the negotiation was successful, NULL otherwise.
*/
public function getActiveWorkspaceId(Request $request): ?string;
}