function AliasPrefixList::has
Same name and namespace in other branches
- 11.x core/modules/path_alias/src/AliasPrefixList.php \Drupal\path_alias\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_aliasCode
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.