Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CollectionConfigurator.php

function CollectionConfigurator::host

Sets the host to use for all child routes.

Parameters

string|array $host the host, or the localized hosts:

Return value

$this

File

vendor/symfony/routing/Loader/Configurator/CollectionConfigurator.php, line 109

Class

CollectionConfigurator
@author Nicolas Grekas <p@tchwork.com>

Namespace

Symfony\Component\Routing\Loader\Configurator

Code

public final function host(string|array $host) : static {
    $this->host = $host;
    return $this;
}
RSS feed
Powered by Drupal