DateFormat

class DateFormat

Defines the Date Format configuration entity class.

Plugin annotation

@ConfigEntityType(
  id = "date_format",
  label = @Translation("Date format"),
  handlers = {
    "access" = "Drupal\system\DateFormatAccessControlHandler",
  },
  entity_keys = {
    "id" = "id",
    "label" = "label"
  },
  admin_permission = "administer site configuration",
  list_cache_tags = { "rendered" },
  config_export = {
    "id",
    "label",
    "locked",
    "pattern",
  }
)

Hierarchy