how to add id to link tag which refers to your themes style.css

I want to add an ID to only this link tag:
<link rel="stylesheet" type="text/css" href="/themes/bootstrap/design/style.css?v=2.5.1" media="all" />
Per example:<link id="switchlink" rel="stylesheet" type="text/css" href="/themes/bootstrap/design/style.css?v=2.5.1" media="all" />
In applications/dashboard/modules/class.headmodule.php there is this function:
public function addCss($HRef, $Media = '', $AddVersion = true, $Options = null) { $Properties = array( 'rel' => 'stylesheet', 'type' => 'text/css', 'href' => Asset($HRef, false, $AddVersion), 'media' => $Media);
Adding ad id to this associative array gives all the link tags that ID. Only the one to my themes/bootstrap/design/style.css should should get that ID.
How can i do that?
0
Comments
Awesome! I had to change line 4 to this
if (substr($value['href'], 0, 34) == '/themes/bootstrap/design/style.css') {
but the intention was clear to me.Works perfect. Thanks @R_J