DateFormat::$pattern

Same name in other branches
  1. 9 core/lib/Drupal/Core/Datetime/Entity/DateFormat.php \Drupal\Core\Datetime\Entity\DateFormat::pattern
  2. 8.9.x core/lib/Drupal/Core/Datetime/Entity/DateFormat.php \Drupal\Core\Datetime\Entity\DateFormat::pattern
  3. 10 core/lib/Drupal/Core/Datetime/Entity/DateFormat.php \Drupal\Core\Datetime\Entity\DateFormat::pattern

The date format pattern.

Type: string

File

core/lib/Drupal/Core/Datetime/Entity/DateFormat.php, line 52

Class

DateFormat
Defines the Date Format configuration entity class.

Namespace

Drupal\Core\Datetime\Entity

Code

protected $pattern;

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