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_pathsCode
public function isPathEnabled(string $path) : bool {
return !empty($this
->getImmutableConfig()
->get(sprintf('%s_path', $path)));
}