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. 11.x 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 53

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.