function _views_slideshow_xtra_example_installed_fields in Views Slideshow Xtra 7.2
Same name and namespace in other branches
- 7.3 views_slideshow_xtra_example/views_slideshow_xtra_example.install \_views_slideshow_xtra_example_installed_fields()
- 7 views_slideshow_xtra_example/views_slideshow_xtra_example.install \_views_slideshow_xtra_example_installed_fields()
Return a structured array defining the fields created by this content type.
1 call to _views_slideshow_xtra_example_installed_fields()
- views_slideshow_xtra_example_install in views_slideshow_xtra_example/
views_slideshow_xtra_example.install - Implements hook_install().
File
- views_slideshow_xtra_example/
views_slideshow_xtra_example.install, line 43 - Install file for Views Slideshow Xtra Example module.
Code
function _views_slideshow_xtra_example_installed_fields() {
$t = get_t();
return array(
'views_slideshow_xtra' => array(
'field_name' => 'views_slideshow_xtra',
'cardinality' => FIELD_CARDINALITY_UNLIMITED,
'type' => 'text',
'settings' => array(
'max_length' => 512,
),
),
'views_slideshow_image' => array(
'field_name' => 'views_slideshow_image',
'type' => 'image',
'cardinality' => 1,
),
);
}