DateFormat::getPattern

public DateFormat::getPattern()

Gets the date pattern string for this format.

Return value

string The pattern string as expected by date().

Overrides DateFormatInterface::getPattern

File

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

Class

DateFormat
Defines the Date Format configuration entity class.

Namespace

Drupal\Core\Datetime\Entity

Code

public function getPattern() {
  return $this->pattern;
}
doc_Drupal
2016-10-29 09:00:28
Comments
Leave a Comment

Please login to continue.