Coverage index

src/Plugin/views/field/VisitorsHour.php

Lines: 0.00%

LineHitsSource
1
<?php
2
3
namespace Drupal\visitors\Plugin\views\field;
4
5
use Drupal\views\Attribute\ViewsField;
6
7
/**
8
 * Field handler to display the hour (server) of the visit.
9
 *
10
 * @ingroup views_field_handlers
11
 */
12
#[ViewsField("visitors_hour")]
13
final class VisitorsHour extends VisitorsTimestamp {
14
15
  /**
16
   * {@inheritdoc}
17
   */
18
  protected $format = 'H';
19
20
}