12:18 hi all, in D8 - why is "Drupal::moduleHandler" sometimes escaped? i.e. "\Drupal::moduleHandler->someMethod()"
12:20 well, I guess its any class method but thats the one I'm looking at..https://drupal.org/files/drupal-2045931-replace-module-exists-calls-15.patch
12:21 FrobinRobin: it's not escaping. It means to use that class from the global namespace and not the one the class is in
12:23 thanks berdir, Why would it be used sometimes and not others? examples in that patch (Drupal::moduleHandler()->moduleExists)
12:23 FrobinRobin: because procedural code (.module etc.) is in the global namespace too, so it's not necessary)
12:23 ahhh nice one berdir, that was a very quick and easy answer!
12:24 FrobinRobin: (love that name) It's good to hear the kinds of things that trip you up though as you're first encountering D8. I can definitely see why that would be confusing.
12:24 webchick: yep, not the first time..
Ok, so let's fix it. :)
|PASSED: [[SimpleTest]]: [MySQL] 58,537 pass(es).|
|PASSED: [[SimpleTest]]: [MySQL] 58,632 pass(es).|
|PASSED: [[SimpleTest]]: [MySQL] 58,336 pass(es).|
|PASSED: [[SimpleTest]]: [MySQL] 58,828 pass(es).|
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch webchick_happiness+=1200_0.patch. Unable to apply patch. See the log in the details link for more information.|