You are here

public function DatexBlock::defaultConfiguration in Datex 8

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/DatexBlock.php, line 18

Class

DatexBlock
Provides a block to show a localized current/relative date.

Namespace

Drupal\datex\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'cal' => 'persian',
    'fmt' => 'Y/m/d H:i:s',
    'tz' => 'user',
    'text' => '{}',
  ];
}