public function DefaultWorkspaceNegotiator::applies in Workspace 8.2
Checks whether the negotiator applies to the current request or not.
Parameters
\Symfony\Component\HttpFoundation\Request $request: The HTTP request.
Return value
bool TRUE if the negotiator applies for the current request, FALSE otherwise.
Overrides WorkspaceNegotiatorInterface::applies
File
- src/
Negotiator/ DefaultWorkspaceNegotiator.php, line 42
Class
- DefaultWorkspaceNegotiator
- Defines the default workspace negotiator.
Namespace
Drupal\workspace\NegotiatorCode
public function applies(Request $request) {
return TRUE;
}