v1.7 - Removed seconds from date and time field
Also altered activities view to show this field instead of created date.
This commit is contained in:
@ -1,5 +1,11 @@
|
||||
<?php
|
||||
|
||||
function opencase_entities_update_8016() {
|
||||
$update_manager = \Drupal::entityDefinitionUpdateManager();
|
||||
$definition = $update_manager->getFieldStorageDefinition('activity_date_time', 'oc_activity');
|
||||
$update_manager->updateFieldStorageDefinition($definition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add 'activity_date_time' field to 'oc_activity' entities.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user