You are here

public function PrevNextBlock::defaultConfiguration in Previous/Next API 8.2

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/PrevNextBlock.php, line 88

Class

PrevNextBlock
Provides a 'Previous Next' block.

Namespace

Drupal\prev_next\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'prev_display' => TRUE,
    'prev_text' => $this
      ->t('«prev'),
    'next_display' => TRUE,
    'next_text' => $this
      ->t('next»'),
  ];
}