Skip to content

Instantly share code, notes, and snippets.

View sebas5384's full-sized avatar
🏠
Working from home

Sebastian sebas5384

🏠
Working from home
View GitHub Profile
@sebas5384
sebas5384 / ini.xml
Created December 13, 2014 13:40
PHP pt-br: appendices/ini.xml
Index: appendices/ini.xml
===================================================================
--- appendices/ini.xml (revision 335261)
+++ appendices/ini.xml (working copy)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
+<!-- EN-Revision: 322056 Maintainer: none Status: ready --><!-- CREDITS: sebas5384@gmail.com -->
<appendix xml:id="ini" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
/**
* Implements hook_install().
*/
function power_one_install() {
// The "generation_site" entity type already exists at this point.
// Create a new entity bundle using ECK's API.
$new_bundle = function($name, $label, $entity_type) {
$bundle = new Bundle();
$bundle->name = $name;