home | career | drupal | java | mac | mysql | perl | php | scala | uml | unix

Drupal example source code file (content_permissions.install)

This example Drupal source code file (content_permissions.install) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

all, are, array, by, configure, content_permissions_install, default, field, function, immediately, inaccessible, permissions, php, url

The content_permissions.install Drupal example source code

// $Id: content_permissions.install,v 2008/10/04 13:14:22 karens Exp $

 * @file
 * Implementation of hook_install().
function content_permissions_install() {
  drupal_set_message(t('Please <a href="!url">configure your field permissions</a> immediately. All fields are inaccessible by default.', array('!url' => url('admin/user/permissions', array('fragment' => 'content_permissions')))));

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal content_permissions.install source code file:

new blog posts

"Drupal" is a registered trademark of Dries Buytaert.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.