You are here

public function Config::isPathEnabled in Rename Admin Paths 8.2

Parameters

string $path:

Return value

bool

File

src/Config.php, line 70

Class

Config
Config for rename_admin_paths module

Namespace

Drupal\rename_admin_paths

Code

public function isPathEnabled(string $path) : bool {
  return !empty($this
    ->getImmutableConfig()
    ->get(sprintf('%s_path', $path)));
}