Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Core/DrupalKernel.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 129ea1e6d783 |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
1585 * The array of trusted host patterns. | 1585 * The array of trusted host patterns. |
1586 * | 1586 * |
1587 * @return bool | 1587 * @return bool |
1588 * TRUE if the Host header is trusted, FALSE otherwise. | 1588 * TRUE if the Host header is trusted, FALSE otherwise. |
1589 * | 1589 * |
1590 * @see https://www.drupal.org/node/1992030 | 1590 * @see https://www.drupal.org/docs/8/install/trusted-host-settings |
1591 * @see \Drupal\Core\Http\TrustedHostsRequestFactory | 1591 * @see \Drupal\Core\Http\TrustedHostsRequestFactory |
1592 */ | 1592 */ |
1593 protected static function setupTrustedHosts(Request $request, $host_patterns) { | 1593 protected static function setupTrustedHosts(Request $request, $host_patterns) { |
1594 $request->setTrustedHosts($host_patterns); | 1594 $request->setTrustedHosts($host_patterns); |
1595 | 1595 |