public function DateFormat::getPattern in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Datetime/Entity/DateFormat.php \Drupal\Core\Datetime\Entity\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 70 - Contains \Drupal\Core\Datetime\Entity\DateFormat.
Class
- DateFormat
- Defines the Date Format configuration entity class.
Namespace
Drupal\Core\Datetime\EntityCode
public function getPattern() {
return $this->pattern;
}