function 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 18  
Class
- DateFormatInterface
 - Provides an interface defining a date format.
 
Namespace
Drupal\Core\DatetimeCode
public function getPattern();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.