function scald_example_content_type_node_info in Scald: Media Management made easy 6
Implements hook_node_info.
File
- scald_example_content_type/
scald_example_content_type.module, line 13 - Contains an example implementation of a node type that will be used to provide atoms to Scald. For this example sake, we(ll be providing Image atoms based on pictures attached to this node.
Code
function scald_example_content_type_node_info() {
$types = array();
$types['scald_example_content_type'] = array(
'name' => 'Scald Example Image',
'module' => 'scald_example_content_type',
'description' => 'An example content type that registers files uploaded to its nodes as Atoms',
);
// return $types;
}