You are here

OptionalEndDateDateRangeDefaultFormatter.php in Optional End Date 8

File

src/Plugin/Field/FieldFormatter/OptionalEndDateDateRangeDefaultFormatter.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\DateRangeDefaultFormatter;

/**
 * Override the default formatter.
 */
class OptionalEndDateDateRangeDefaultFormatter extends DateRangeDefaultFormatter {
  use OptionalEndDateDateTimeRangeTrait;

}

Classes

Namesort descending Description
OptionalEndDateDateRangeDefaultFormatter Override the default formatter.