Skip to content

Commit

Permalink
doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
scor committed May 13, 2010
1 parent b78053c commit ddc94d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion opengraphprotocol.info
@@ -1,6 +1,6 @@
; $Id: $
name = Open Graph Protocol
description = A module for the Open Graph Protocol.
description = Allows to annotate page with the Open Graph protocol and make them available in Facebook.
package = Other
version = VERSION
core = 7.x
Expand Down
5 changes: 5 additions & 0 deletions opengraphprotocol.module
Expand Up @@ -16,6 +16,9 @@ function opengraphprotocol_rdf_namespaces() {

/**
* Implements hook_form_FORM_ID_alter().
*
* Adds a vertical tab in the edit content type form to specify which Open
* Graph protocol type should associated with each content type.
*/
function opengraphprotocol_form_node_type_form_alter(&$form, $form_state) {
// Object types defined at http://opengraphprotocol.org/#types
Expand Down Expand Up @@ -106,6 +109,8 @@ function opengraphprotocol_form_node_type_form_alter(&$form, $form_state) {

/**
* Implements MODULE_preprocess_HOOK().
*
* Adds the various Open Graph protocol HTML elements during page rendering.
*/
function opengraphprotocol_preprocess_node(&$variables) {
$node = $variables['node'];
Expand Down

0 comments on commit ddc94d1

Please sign in to comment.