Revert "Remove post redirects"

This reverts commit f38bb26489.
This commit is contained in:
Oliver Davies 2017-09-12 13:43:08 +01:00
parent 1e27ce5045
commit 8080640147
90 changed files with 183 additions and 42 deletions

View file

@ -11,6 +11,8 @@ meta:
description: 'How to define a minimum Drupal core version for your module or theme.'
type: article
use: [posts]
redirect:
- blog/how-to-define-a-minimum-drupal-core-version/
---
This week, my first code patch was [committed to Drupal core](https://www.drupal.org/node/2394517#comment-9773143). The patch adds the `user_has_role()` 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 [7.36](https://www.drupal.org/drupal-7.36-release-notes).