DateTimeRangeDisplayOptions.php

Namespace

Drupal\datetime_range

File

core/modules/datetime_range/src/DateTimeRangeDisplayOptions.php

View source
<?php

namespace Drupal\datetime_range;


/**
 * Declares constants used in the Datetime Range module.
 */
enum DateTimeRangeDisplayOptions : string
{
    // Values for the 'from_to' formatter setting.
    case Both = 'both';
    case StartDate = 'start_date';
    case EndDate = 'end_date';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.