Change the default entity types. To add a new entity type make sure you already have it as a standard table exists. Default types are `'object','user','annotation','entity','site','component'`

~~~
<?php
function my_component_init(){
ossn_add_hook('entities', 'types', 'my_component_hook');
}
function my_component_hook($hook, $type, $types){
$types['newtype'] = 'NewType'; //NewType is a class/Object
return $types;
}
ossn_register_callback('ossn', 'init', 'my_component_init');
~~~

Entity types