You are here

OptionalEndDateDateRangeCustomFormatter.php in Optional End Date 8

File

src/Plugin/Field/FieldFormatter/OptionalEndDateDateRangeCustomFormatter.php
View source
<?php

namespace Drupal\optional_end_date\Plugin\Field\FieldFormatter;

use Drupal\optional_end_date\OptionalEndDateDateTimeRangeTrait;
use Drupal\datetime_range\Plugin\Field\FieldFormatter\DateRangeCustomFormatter;

/**
 * Override the custom formatter.
 */
class OptionalEndDateDateRangeCustomFormatter extends DateRangeCustomFormatter {
  use OptionalEndDateDateTimeRangeTrait;

}

Classes

Namesort descending Description
OptionalEndDateDateRangeCustomFormatter Override the custom formatter.