Completed
Pull Request — master (#105)
by
unknown
02:05
created

DatetimeHandler   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 10
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getDateFormat() 0 3 1
1
<?php
2
3
namespace Drupal\Driver\Fields\Drupal7;
4
5
/**
6
 * Datetime field handler for Drupal 7.
7
 */
8
class DatetimeHandler extends AbstractDateHandler {
9
10
  /**
11
   * {@inheritdoc}
12
   */
13
  protected function getDateFormat() {
14
    return 'Y-m-d h:m:s';
15
  }
16
17
}
18