1 |
85ad3d82
|
Assos Assos
|
<?php
|
2 |
|
|
|
3 |
|
|
/**
|
4 |
|
|
* @file
|
5 |
|
|
* Examples and test folder for migration into date fields.
|
6 |
|
|
*/
|
7 |
|
|
|
8 |
|
|
/**
|
9 |
|
|
* Implements hook_node_info().
|
10 |
|
|
*/
|
11 |
|
|
function date_migrate_example_node_info() {
|
12 |
|
|
$items = array(
|
13 |
|
|
'date_migrate_example' => array(
|
14 |
|
|
'name' => t('Migrate example - dates'),
|
15 |
|
|
'base' => 'node_content',
|
16 |
|
|
'description' => t('This content type is used for demonstrating and testing migration into Date fields.'),
|
17 |
|
|
'has_title' => '1',
|
18 |
|
|
'title_label' => t('Title'),
|
19 |
|
|
'help' => '',
|
20 |
|
|
),
|
21 |
|
|
);
|
22 |
|
|
return $items;
|
23 |
|
|
} |