You are here

public function DateFormatInterface::getPattern in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Datetime/DateFormatInterface.php \Drupal\Core\Datetime\DateFormatInterface::getPattern()

Gets the date pattern string for this format.

Return value

string The pattern string as expected by date().

1 method overrides DateFormatInterface::getPattern()
DateFormat::getPattern in core/lib/Drupal/Core/Datetime/Entity/DateFormat.php
Gets the date pattern string for this format.

File

core/lib/Drupal/Core/Datetime/DateFormatInterface.php, line 23
Contains \Drupal\Core\Datetime\DateFormatInterface.

Class

DateFormatInterface
Provides an interface defining a date format.

Namespace

Drupal\Core\Datetime

Code

public function getPattern();