public function Config::setPathEnabled in Rename Admin Paths 8.2
Parameters
string $path:
string $enabled:
File
- src/
Config.php, line 87
Class
- Config
- Config for rename_admin_paths module
Namespace
Drupal\rename_admin_pathsCode
public function setPathEnabled(string $path, string $enabled) : void {
$this
->getEditableConfig()
->set(sprintf('%s_path', $path), $enabled);
}