You are here

public function CalendarSystemsBlock::defaultConfiguration in Calendar Systems 8.3

Overrides BlockPluginTrait::defaultConfiguration

2 calls to CalendarSystemsBlock::defaultConfiguration()
CalendarSystemsBlock::blockForm in src/Plugin/Block/CalendarSystemsBlock.php
CalendarSystemsBlock::build in src/Plugin/Block/CalendarSystemsBlock.php
Builds and returns the renderable array for this block plugin.

File

src/Plugin/Block/CalendarSystemsBlock.php, line 86

Class

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

Namespace

Drupal\calendar_systems\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'calendar_systems_calendar' => 'global',
    'calendar_systems_format' => 'Y/m/d H:i:s',
    'calendar_systems_timezone' => 'user',
    'calendar_systems_text' => '{}',
  ];
}