
| Current Path : /var/www/html/ift/web/core/lib/Drupal/Core/Datetime/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/ift/web/core/lib/Drupal/Core/Datetime/DateFormatInterface.php |
<?php
namespace Drupal\Core\Datetime;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
/**
* Provides an interface defining a date format.
*/
interface DateFormatInterface extends ConfigEntityInterface {
/**
* Gets the date pattern string for this format.
*
* @return string
* The pattern string as expected by date().
*/
public function getPattern();
/**
* Sets the date pattern for this format.
*
* @param string $pattern
* The date pattern to use for this format.
*
* @return $this
*/
public function setPattern($pattern);
/**
* Determines if this date format is locked.
*
* @return bool
* TRUE if the date format is locked, FALSE otherwise.
*/
public function isLocked();
}