Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
domain-3458053
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
domain-3458053
Commits
330ced40
Commit
330ced40
authored
8 years ago
by
Ken Rickard
Browse files
Options
Downloads
Patches
Plain Diff
Issue
parent
ff16477a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
domain/src/DomainNegotiatorInterface.php
+9
-0
9 additions, 0 deletions
domain/src/DomainNegotiatorInterface.php
with
9 additions
and
0 deletions
domain/src/DomainNegotiatorInterface.php
+
9
−
0
View file @
330ced40
...
...
@@ -46,6 +46,9 @@ interface DomainNegotiatorInterface {
/**
* Gets the id of the active domain.
*
* @return string
* The id of the active domain.
*/
public
function
getActiveId
();
...
...
@@ -55,6 +58,9 @@ interface DomainNegotiatorInterface {
* This method is an internal method for use by the public getActiveDomain()
* call. It is responsible for determining the active hostname of the request
* and then passing that data to the negotiator.
*
* @return string
* The hostname, without the "www" if applicable.
*/
public
function
negotiateActiveHostname
();
...
...
@@ -66,6 +72,9 @@ interface DomainNegotiatorInterface {
*
* @param bool $reset
* Reset the internal cache of the active domain.
*
* @return \Drupal\domain\DomainInterface
* The active domain object.
*/
public
function
getActiveDomain
(
$reset
=
FALSE
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment