SmartDateFormatInterface.php in Smart Date 3.3.x
Same filename and directory in other branches
- 8.2 src/Entity/SmartDateFormatInterface.php
- 8 src/Entity/SmartDateFormatInterface.php
- 3.x src/Entity/SmartDateFormatInterface.php
- 3.0.x src/Entity/SmartDateFormatInterface.php
- 3.1.x src/Entity/SmartDateFormatInterface.php
- 3.2.x src/Entity/SmartDateFormatInterface.php
- 3.4.x src/Entity/SmartDateFormatInterface.php
Namespace
Drupal\smart_date\EntityFile
src/Entity/SmartDateFormatInterface.phpView source
<?php
namespace Drupal\smart_date\Entity;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
/**
* Provides an interface defining a smart date format.
*/
interface SmartDateFormatInterface extends ConfigEntityInterface {
/**
* Gets the array of options for this format.
*
* @return array
* The array of values used to assemble the output.
*/
public function getOptions();
/**
* Sets the array of options for this format.
*
* @param array $options
* The array of options to use for this format.
*
* @return $this
*/
public function setOptions(array $options);
}
Interfaces
Name | Description |
---|---|
SmartDateFormatInterface | Provides an interface defining a smart date format. |