You are here

protected function SmartDateFormat::getAllKeys in Smart Date 3.1.x

Same name and namespace in other branches
  1. 8.2 src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::getAllKeys()
  2. 8 src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::getAllKeys()
  3. 3.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::getAllKeys()
  4. 3.0.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::getAllKeys()
  5. 3.2.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::getAllKeys()
  6. 3.3.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::getAllKeys()
  7. 3.4.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::getAllKeys()

Return an array of the keys used by Smart Date Formats.

2 calls to SmartDateFormat::getAllKeys()
SmartDateFormat::getOptions in src/Entity/SmartDateFormat.php
Gets the array of options for this format.
SmartDateFormat::setOptions in src/Entity/SmartDateFormat.php
Sets the array of options for this format.

File

src/Entity/SmartDateFormat.php, line 298

Class

SmartDateFormat
Defines the Smart date format entity.

Namespace

Drupal\smart_date\Entity

Code

protected function getAllKeys() {
  return [
    'date_format',
    'time_format',
    'time_hour_format',
    'allday_label',
    'separator',
    'join',
    'ampm_reduce',
    'date_first',
    'site_time_toggle',
  ];
}