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\BlockCode
public function defaultConfiguration() {
return [
'prev_display' => TRUE,
'prev_text' => $this
->t('«prev'),
'next_display' => TRUE,
'next_text' => $this
->t('next»'),
];
}