function _rdf_example_installed_fields
Return a structured array defining the fields created by this content type.
Related topics
1 call to _rdf_example_installed_fields()
- rdf_example_install in rdf_example/
rdf_example.install - Implements hook_install().
File
-
rdf_example/
rdf_example.install, line 61
Code
function _rdf_example_installed_fields() {
$t = get_t();
return array(
'recipe_photo' => array(
'field_name' => 'recipe_photo',
'cardinality' => 1,
'type' => 'image',
),
'recipe_summary' => array(
'field_name' => 'recipe_summary',
'cardinality' => 1,
'type' => 'text',
'settings' => array(
'max_length' => 500,
),
),
);
}