Merge branch 'source' into tags
This commit is contained in:
commit
6735de698c
13 changed files with 162 additions and 17 deletions
|
@ -5,9 +5,14 @@ nav: blog
|
|||
use:
|
||||
- posts
|
||||
tags:
|
||||
- drupal
|
||||
- drupal-7
|
||||
- drupal-planet
|
||||
- Drupal
|
||||
- Drupal 7
|
||||
- Drupal Planet
|
||||
meta:
|
||||
og:
|
||||
title: 'How to Define a Minimum Drupal Core Version'
|
||||
description: 'How to define a minimum Drupal core version for your module or theme.'
|
||||
type: article
|
||||
---
|
||||
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 theu 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).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue