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

Drupal example source code file (API.txt)

This example Drupal source code file (API.txt) 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

api, array, changed, from, function, has, module, options, php, tags, text, the, to, version

The API.txt Drupal example source code

; $Id: API.txt,v 1.1.2.11 2009/12/29 10:39:55 kiam Exp $
; This file contains a log of changes to the API.

API version 1.1

* The module uses hook_nodewords_tags_info(), and hook_nodewords_api().

* Functions that before were private are now public.

API version 1.3

* The module uses also hook_nodewords_type_id().

* The function nodewords_output_tags() has been changed from
  nodewords_output_tags($tags) to
  nodewords_output_tags($tags, $output_type = 'head').

* The function nodewords_unique() has been changed from
  nodewords_unique($text, $max_items = 0, $separator = ',') to
  nodewords_unique($text, $separator = ',', $max_items = -1).

API version 1.4

* The function nodewords_metatag_from_teaser() has been changed from
  nodewords_metatag_from_teaser($text, $format, $alt_attribute, $size = 0) to
  nodewords_metatag_from_teaser($text, $format, $options = array()).

API version 1.5

* Changed the name of the constants from NODEWORDS_MT_TYPE_* to
  NODEWORDS_TYPE_*.

API version 1.6

* Changed the function nodewords_get_tags() from
  nodewords_get_tags($type, $ids = array(''), $filtered = TRUE) to
  nodewords_get_tags($type, $ids = array(''), $options = array()).

API version 1.7

* The module uses also hook_nodewords_tags_output_alter().

* The identifier passed to <meta_tag_hander>_settings_form() for the meta tags
  settings form is now the form identifier as used by Drupal
  (nodewords_settings_form).

API version 1.8

* The module uses also hook_nodewords_tags_alter().

* The function nodewords_mass_delete_tags() cannot be used to delete meta tags
  associated with custom pages anymore.

API version 1.9

* The function nodewords_metatag_from_teaser($text, $format, $options = array())
  has been replaced by nodewords_metatag_from_node_content($node, $content, $options = array()).

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal API.txt 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.