This commit is contained in:
Oliver Davies 2017-07-11 18:57:51 +01:00
parent 0692d8ff00
commit 47e2ffcfda
247 changed files with 409 additions and 383 deletions

View file

@ -92,7 +92,7 @@
<main class="col-md-9">
<h1>How to Define a Minimum Drupal Core Version</h1>
<p class="posted">3rd April 2015</p>
<p class="posted text-light">3rd April 2015</p>
<p>This week, my first code patch was <a href="https://www.drupal.org/node/2394517#comment-9773143">committed to Drupal core</a>. The patch adds the <code>user_has_role()</code> function to the user module, to simplify the way to check whether a user in Drupal has been assigned a specific role. This is something that I normally write a custom function for each project, but it's now available in Drupal core as of <a href="https://www.drupal.org/drupal-7.36-release-notes">7.36</a>.</p>