You are here

public function HiddenLanguageManager::isUrlException in Hidden Language 2.x

Verify if $url is an exception on the hidden language config.

Parameters

string $url: Url to be tested.

Return value

bool True if Url is in exception list and False if not.

File

src/HiddenLanguageManager.php, line 114

Class

HiddenLanguageManager
Class HiddenLanguageManager.

Namespace

Drupal\hidden_language

Code

public function isUrlException($url) {
  if ($this
    ->isRouteExcecption($url) || $this
    ->isPathException($url)) {
    return TRUE;
  }
  return FALSE;
}