DateFormatInterface::setPattern

public DateFormatInterface::setPattern($pattern)

Sets the date pattern for this format.

Parameters

string $pattern: The date pattern to use for this format.

Return value

$this

File

core/lib/Drupal/Core/Datetime/DateFormatInterface.php, line 28

Class

DateFormatInterface
Provides an interface defining a date format.

Namespace

Drupal\Core\Datetime

Code

public function setPattern($pattern);
doc_Drupal
2016-10-29 09:00:41
Comments
Leave a Comment

Please login to continue.