function AliasPrefixList::has

Overrides CacheCollector::has

File

core/modules/path_alias/src/AliasPrefixList.php, line 107

Class

AliasPrefixList
Cache a list of valid alias prefixes.

Namespace

Drupal\path_alias

Code

public function has($key) {
  // Paths in Drupal are case-insensitive.
  return parent::has(mb_strtolower($key));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.